Optionaloptions: anyReadonlybodyTrue if one of the body retrieval methods has been called for this Request.
ReadonlyheadersThe Headers of the Request.
ReadonlymethodThe HTTP request method. Must be one of these strings: GET, POST, PUT, DELETE, or PATCH. Default is GET.
ReadonlyredirectIndicates how redirects are handled. Can be one the following strings: follow, error, or manual. Default value is follow.
ReadonlyurlThe URL of the request.
Returns the name of this object's type.
Returns true if the object matches or derives from the passed in type.
Returns true if this object is the same as other. Useful for checking if two references point to the same thing.
Represents an HTTP request used by the Fetch API in RemoteServiceModule.
Snap OS
Example