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