Methods
This section describes the methods associated with the Fetch API.
In this section
| Topic | Description |
|---|---|
|
Creates a copy of the current Response object. | |
|
Appends a new value to an already existing header inside a Headers object. | |
|
Takes a Response or Request stream and returns a promise for an ArrayBuffer object. | |
|
Takes a Response or Request stream and returns a promise for a Blob object. | |
|
Creates a copy of the current Request object. | |
|
Deletes a header from the current Headers object. | |
|
Initiates the fetching of a resource. | |
|
Gets the first value of a header from the current Headers object. | |
|
Checks whether or not a header exists within the current Headers object. | |
|
Takes a Response or Request stream and returns a promise for an object containing JSON data. | |
|
Sets a new value to an already existing header inside a Headers object. | |
|
Takes a Response or Request stream and returns a promise for a USVString object. |