Documentation
Github
Preparing search index...
iso-web
http
<internal>
JSONRequestOptions
Interface JSONRequestOptions
interface
JSONRequestOptions
{
body
?:
Jsonifiable
;
fetch
?:
{
(
input
:
URL
|
RequestInfo
,
init
?:
RequestInit
)
:
Promise
<
Response
>
;
(
input
:
string
|
URL
|
Request
,
init
?:
RequestInit
)
:
Promise
<
Response
>
;
}
;
headers
?:
HeadersInit
;
keepalive
?:
boolean
;
method
?:
string
;
onResponse
?:
(
response
:
Response
,
request
:
Request
,
)
=>
void
|
Response
|
Promise
<
void
|
Response
>
;
redirect
?:
RequestRedirect
;
retry
?:
RetryOptions
;
signal
?:
AbortSignal
;
timeout
?:
number
;
}
Index
Properties
body?
fetch?
headers?
keepalive?
method?
on
Response?
redirect?
retry?
signal?
timeout?
Properties
Optional
body
body
?:
Jsonifiable
Optional
fetch
fetch
?:
{
(
input
:
URL
|
RequestInfo
,
init
?:
RequestInit
)
:
Promise
<
Response
>
;
(
input
:
string
|
URL
|
Request
,
init
?:
RequestInit
)
:
Promise
<
Response
>
;
}
Type Declaration
(
input
:
URL
|
RequestInfo
,
init
?:
RequestInit
)
:
Promise
<
Response
>
MDN Reference
Parameters
input
:
URL
|
RequestInfo
Optional
init
:
RequestInit
Returns
Promise
<
Response
>
(
input
:
string
|
URL
|
Request
,
init
?:
RequestInit
)
:
Promise
<
Response
>
MDN Reference
Parameters
input
:
string
|
URL
|
Request
Optional
init
:
RequestInit
Returns
Promise
<
Response
>
Optional
headers
headers
?:
HeadersInit
Optional
keepalive
keepalive
?:
boolean
Optional
method
method
?:
string
Optional
on
Response
onResponse
?:
(
response
:
Response
,
request
:
Request
,
)
=>
void
|
Response
|
Promise
<
void
|
Response
>
Optional
redirect
redirect
?:
RequestRedirect
Optional
retry
retry
?:
RetryOptions
Optional
signal
signal
?:
AbortSignal
Optional
timeout
timeout
?:
number
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
body
fetch
headers
keepalive
method
on
Response
redirect
retry
signal
timeout
Github
Documentation
Loading...
MDN Reference