Create a new Response.
Optional
body: null | BodyInitThe body of the response.
Initialization options for the response.
Whether the response was redirected.
HTTP status code of the response.
Status text of the response.
Type of the response.
URL of the response.
Check if the response was successful.
Returns a promise that resolves with an ArrayBuffer representation of the body. If the body is null, it returns an empty ArrayBuffer.
Static
errorStatic
jsonCreate a new JSON response.
The data to include in the response body.
Initialization options for the response.
Static
redirectGenerated using TypeDoc
Class representing a HTTP response.