Fetch - Web documentation

Functions

f
fetch

Fetch a resource from the network. It returns a Promise that resolves to the Response to that Request, whether it is successful or not.

Interfaces

I
Body
No documentation available
I
v
EventSource
No documentation available
I
EventSourceEventMap
No documentation available
I
EventSourceInit
No documentation available
I
v
FormData

Provides a way to easily construct a set of key/value pairs representing form fields and their values, which can then be easily sent using the XMLHttpRequest.send() method. It uses the same format a form would use if the encoding type were set to "multipart/form-data".

I
v
Headers

This Fetch API interface allows you to perform various actions on HTTP request and response headers. These actions include retrieving, setting, adding to, and removing. A Headers object has an associated header list, which is initially empty and consists of zero or more name and value pairs. You can add to this using methods like append() (see Examples). In all methods of this interface, header names are matched by case-insensitive byte sequence.

I
v
Request

This Fetch API interface represents a resource request.

I
RequestInit
No documentation available
I
v
Response

This Fetch API interface represents the response to a request.

I
ResponseInit
No documentation available

Type Aliases

T
BodyInit
No documentation available
T
FormDataEntryValue
No documentation available
T
HeadersInit
No documentation available
T
ReferrerPolicy
No documentation available
T
RequestCache
No documentation available
T
RequestCredentials
No documentation available
T
RequestDestination
No documentation available
T
RequestInfo
No documentation available
T
RequestMode
No documentation available
T
RequestRedirect
No documentation available
T
ResponseType
No documentation available