Results 21 - 40 of 49

Request.credentials

The credentials read-only property of the Request interface indicates whether the user agent should send cookies from the other domain in the case of cross-origin requests. This is similar to XHR’s withCredentials flag, but with three available values (instead of two):
API credentials Experimental Fetch Property Reference request

Request.headers

The headers read-only property of the Request interface contains the Headers object associated with the request.
API Experimental Fetch Headers Property Reference request

Request.method

The method read-only property of the Request interface contains the request's method (GET, POST, etc.)
API Experimental Fetch Property Reference request

Request.mode

The mode read-only property of the Request interface contains the mode of the request (e.g., cors, no-cors, cors-with-forced-preflight, same-origin, or navigate.) This is used to determine if cross-origin requests lead to valid responses, and which properties of the response are readable:
API Experimental Fetch mode Property Reference request

Request.referrer

The referrer read-only property of the Request interface is set by the user agent to be the referrer of the Request. (e.g., about:client, no-referrer, or a URL.)
API Experimental Fetch Property Reference referrer request

Request.referrerPolicy

The referrerPolicy read-only property of the Request interface contains the referrer policy governing the referrer for the  request.
API Experimental Fetch Property Reference referrerPolicy request

Request.url

The url read-only property of the Request interface contains the URL of the request.
API Experimental Fetch Property Reference request URL

Response.clone()

The clone() method of the Response interface creates a clone of a response object, identical in every way, but stored in a different variable.
API clone Experimental Fetch Method Reference Response

Response.headers

The headers read-only property of the Response interface contains the Headers object associated with the response.
API Experimental Fetch Headers Property Reference Response

Response.ok

The ok read-only property of the Response interface contains a boolean stating whether the response was successful (status in the range 200-299) or not.
API Experimental Fetch ok Property Reference Response

Response()

The Response() constructor creates a new Response object.
API Constructor Experimental Fetch Reference Response

Response.status

The status read-only property of the Response interface contains the status code of the response (e.g., 200 for a success).
API Experimental Fetch Property Reference Response status

Response.statusText

The statusText read-only property of the Response interface contains the status message corresponding to the status code (e.g., OK for 200).
API Experimental Fetch Property Reference Response statusText

Response.type

The type read-only property of the Response interface contains the type of the response. It can be one of the following:
API Experimental Fetch Property Reference Response Type

GlobalFetch

The GlobalFetch mixin of the Fetch API contains the GlobalFetch.fetch() method used to start the process of fetching a resource.
API Experimental Fetch GlobalFetch HTTP Interface Networking Reference request