Preparing search index...
The search index is not available
@amjs/js-utils
@amjs/js-utils
XHR
Interface XHR
interface
XHR
{
abort
(
reason
?:
string
)
:
void
;
fetch
<
TResponse
,
TBody
>
(
path
:
string
,
options
?:
XHRFetchOptions
<
TBody
>
,
)
:
Promise
<
Error
|
TResponse
>
;
getPathRequest
(
path
:
string
)
:
undefined
|
PathRequestConfig
;
reset
()
:
void
;
}
Index
Methods
abort
fetch
get
Path
Request
reset
Methods
abort
abort
(
reason
?:
string
)
:
void
Parameters
Optional
reason
:
string
Returns
void
fetch
fetch
<
TResponse
,
TBody
>
(
path
:
string
,
options
?:
XHRFetchOptions
<
TBody
>
,
)
:
Promise
<
Error
|
TResponse
>
Type Parameters
TResponse
TBody
Parameters
path
:
string
Optional
options
:
XHRFetchOptions
<
TBody
>
Returns
Promise
<
Error
|
TResponse
>
get
Path
Request
getPathRequest
(
path
:
string
)
:
undefined
|
PathRequestConfig
Parameters
path
:
string
Returns
undefined
|
PathRequestConfig
reset
reset
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
abort
fetch
get
Path
Request
reset
@amjs/js-utils
Loading...