Request
The Request interface of the Fetch API represents a resource request.
see ΒΆ6.3 Request Class in whatwg spec
- Value parameters:
- init
initialisation information
- input
the url of the requested resource or an unused Request object.
Value members
Concrete methods
Contains the associated Headers object of the request.
Contains the associated Headers object of the request.
Inherited methods
Takes a Response stream and reads it to completion. It returns a promise that resolves with an ArrayBuffer.
Takes a Response stream and reads it to completion. It returns a promise that resolves with an ArrayBuffer.
- Inherited from:
- Body
Takes a Response stream and reads it to completion. It returns a promise that resolves with a Blob.
Takes a Response stream and reads it to completion. It returns a promise that resolves with a Blob.
- Inherited from:
- Body
Contains a Boolean that indicates whether the body has been read.
Contains a Boolean that indicates whether the body has been read.
- Inherited from:
- Body
Takes a Response stream and reads it to completion. It returns a promise that resolves with a FormData object.
Takes a Response stream and reads it to completion. It returns a promise that resolves with a FormData object.
- Inherited from:
- Body
Takes a Response stream and reads it to completion. It returns a promise that resolves with a JSON object. //todo: define the JSON type, and return a Promise[JSON] as per spec
Takes a Response stream and reads it to completion. It returns a promise that resolves with a JSON object. //todo: define the JSON type, and return a Promise[JSON] as per spec
- Inherited from:
- Body
Takes a Response stream and reads it to completion. It returns a promise that resolves with a USVString (text).
Takes a Response stream and reads it to completion. It returns a promise that resolves with a USVString (text).
- Inherited from:
- Body