The Request
interface of the Fetch API represents a resource request.
Documentation Request by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
Constructor
Variables
read onlycache:RequestCache
Contains the cache mode of the request (e.g., default
, reload
, no-cache
).
read onlycredentials:RequestCredentials
Contains the credentials of the request (e.g., omit
, same-origin
).
read onlymode:RequestMode
Contains the mode of the request (e.g., cors
, no-cors
, same-origin
, navigate
.)
read onlyredirect:RequestRedirect
Contains the mode for how redirects are handled. It may be one of follow
, error
, or manual
.
read onlyreferrerPolicy:ReferrerPolicy
Contains the referrer policy of the request (e.g., no-referrer
).