Iterable
<[string
, string
]>null
if there was no body.
null
| Readonly
<Uint8Array
>
any
""
) if there was no body.
An error is thrown if the body is invalid UTF-8 data.
string
Record
<string
, string
>
null
| FetchRequest
number
string
SERVER_ERROR
if this response is not ok.
void
key
, ignoring case.
Parameter | Type | Description |
---|---|---|
key | string | The header key to retrieve. |
string
The header value.
this is FetchResponse & Object
True if the response has a body.
message
with an
optional error
.
Parameter | Type | Description |
---|---|---|
message ? | string | The error message to use. |
error ? | Error | The error to use. |
FetchResponse
The error response.
boolean
stall
milliseconds.
Parameter | Type | Description |
---|---|---|
message ? | string | The error message to use. |
stall ? | number | The number of milliseconds to stall before retrying. |
never
stall
is not a non-negative integer.