Wearable OnlyWearable OnlyConstruct a new Request. Takes a URL and an optional JSON object with options. Available options are body, method, headers, redirect, and keepalive.
```
let request = new Request("https://
Optionaloptions: anyReadonly Wearable OnlybodyTrue if one of the body retrieval methods has been called for this Request.
Readonly Wearable OnlyheadersThe Headers of the Request.
Readonly Wearable OnlymethodThe HTTP request method. Must be one of these strings: GET, POST, PUT, DELETE, or PATCH. Default is GET.
Readonly Wearable OnlyredirectIndicates how redirects are handled. Can be one the following strings: follow, error, or manual. Default value is follow.
Readonly Wearable OnlyurlThe URL of the request.
Wearable OnlyRetreive the body as Uint8Array.
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.
Wearable OnlyRetrieve the body as a json object.
Wearable OnlyRetrieve the body as a string.
Represents an HTTP request used by the Fetch API in RemoteServiceModule.
Example