|
1 | 1 | {
|
| 2 | + "request": "Returns a new request whose url property is input if input is a string, and input's url if input is a Request object.\n\nThe init argument is an object whose properties can be set as follows:", |
2 | 3 | "request-method": "Returns request's HTTP method, which is \"GET\" by default.",
|
3 | 4 | "request-url": "Returns the URL of request as a string.",
|
4 |
| - "request-headers": "Returns a Headers object consisting of the headers associated with request.\nNote that headers added in the network layer by the user agent will not be accounted for in this\nobject, e.g., the \"Host\" header.", |
5 |
| - "request-destination": "Returns the kind of resource requested by request, e.g., \"document\" or\n\"script\".", |
6 |
| - "request-referrer": "Returns the referrer of request. Its value can be a same-origin URL if\nexplicitly set in init, the empty string to indicate no referrer, and\n\"about:client\" when defaulting to the global's default. This is used during\nfetching to determine the value of the `Referer` header of the request being made.", |
7 |
| - "request-referrerpolicy": "Returns the referrer policy associated with request. This is used during\nfetching to compute the value of the request's referrer.", |
8 |
| - "request-mode": "Returns the mode associated with request, which is a string indicating\nwhether the request will use CORS, or will be restricted to same-origin URLs.", |
9 |
| - "request-credentials": "Returns the credentials mode associated with request, which is a string\nindicating whether credentials will be sent with the request always, never, or only when sent to a\nsame-origin URL.", |
10 |
| - "request-cache": "Returns the cache mode associated with request, which is a string indicating\nhow the request will interact with the browser's cache when fetching.", |
11 |
| - "request-redirect": "Returns the redirect mode associated with request, which is a string\nindicating how redirects for the request will be handled during fetching. A request will follow redirects by default.", |
12 |
| - "request-integrity": "Returns request's subresource integrity metadata, which is a cryptographic hash of\nthe resource being fetched. Its value consists of multiple hashes separated by whitespace. [SRI]", |
13 |
| - "request-keepalive": "Returns a boolean indicating whether or not request can outlive the global in which\nit was created.", |
| 5 | + "request-headers": "Returns a Headers object consisting of the headers associated with request. Note that headers added in the network layer by the user agent will not be accounted for in this object, e.g., the \"Host\" header.", |
| 6 | + "request-destination": "Returns the kind of resource requested by request, e.g., \"document\" or \"script\".", |
| 7 | + "request-referrer": "Returns the referrer of request. Its value can be a same-origin URL if explicitly set in init, the empty string to indicate no referrer, and \"about:client\" when defaulting to the global's default. This is used during fetching to determine the value of the `Referer` header of the request being made.", |
| 8 | + "request-referrerpolicy": "Returns the referrer policy associated with request. This is used during fetching to compute the value of the request's referrer.", |
| 9 | + "request-mode": "Returns the mode associated with request, which is a string indicating whether the request will use CORS, or will be restricted to same-origin URLs.", |
| 10 | + "request-credentials": "Returns the credentials mode associated with request, which is a string indicating whether credentials will be sent with the request always, never, or only when sent to a same-origin URL.", |
| 11 | + "request-cache": "Returns the cache mode associated with request, which is a string indicating how the request will interact with the browser's cache when fetching.", |
| 12 | + "request-redirect": "Returns the redirect mode associated with request, which is a string indicating how redirects for the request will be handled during fetching. A request will follow redirects by default.", |
| 13 | + "request-integrity": "Returns request's subresource integrity metadata, which is a cryptographic hash of the resource being fetched. Its value consists of multiple hashes separated by whitespace. [SRI]", |
| 14 | + "request-keepalive": "Returns a boolean indicating whether or not request can outlive the global in which it was created.", |
14 | 15 | "request-isreloadnavigation": "Returns a boolean indicating whether or not request is for a reload navigation.",
|
15 |
| - "request-ishistorynavigation": "Returns a boolean indicating whether or not request is for a history\nnavigation (a.k.a. back-foward navigation).", |
16 |
| - "request-signal": "Returns the signal associated with request, which is an AbortSignal object indicating whether or not request has been aborted, and its abort\nevent handler." |
| 16 | + "request-ishistorynavigation": "Returns a boolean indicating whether or not request is for a history navigation (a.k.a. back-foward navigation).", |
| 17 | + "request-signal": "Returns the signal associated with request, which is an AbortSignal object indicating whether or not request has been aborted, and its abort event handler.", |
| 18 | + "requestinit-method": "A string to set request's method.", |
| 19 | + "requestinit-headers": "A Headers object, an object literal, or an array of two-item arrays to set request's headers.", |
| 20 | + "requestinit-body": "A BodyInit object or null to set request's body.", |
| 21 | + "requestinit-referrer": "A string whose value is a same-origin URL, \"about:client\", or the empty string, to set request's referrer.", |
| 22 | + "requestinit-referrerpolicy": "A referrer policy to set request's referrerPolicy.", |
| 23 | + "requestinit-mode": "A string to indicate whether the request will use CORS, or will be restricted to same-origin URLs. Sets request's mode.", |
| 24 | + "requestinit-credentials": "A string indicating whether credentials will be sent with the request always, never, or only when sent to a same-origin URL. Sets request's credentials.", |
| 25 | + "requestinit-cache": "A string indicating how the request will interact with the browser's cache to set request's cache.", |
| 26 | + "requestinit-redirect": "A string indicating whether request follows redirects, results in an error upon encountering a redirect, or returns the redirect (in an opaque fashion). Sets request's redirect.", |
| 27 | + "requestinit-integrity": "A cryptographic hash of the resource to be fetched by request. Sets request's integrity.", |
| 28 | + "requestinit-keepalive": "A boolean to set request's keepalive.", |
| 29 | + "requestinit-signal": "An AbortSignal to set request's signal.", |
| 30 | + "requestinit-window": "Can only be null. Used to disassociate request from any Window." |
17 | 31 | }
|
0 commit comments