Wearable Only
Readonly
bodyTrue if one of the body retrieval methods has been called for this Response.
Readonly
headersThe Headers of the Response.
Readonly
okTrue if the response returned HTTP Status Code 200 (OK).
Readonly
statusThe response's HTTP status code. HTTP status code values: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status.
Readonly
statusThe HTTP status code converted to string.
Readonly
urlThe URL of the Response. This is the final URL obtained after any redirects.
Retrieve 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.
Retrieve the body as a json object.
Retrieve the body as a string.
Represents an HTTP response used by the Fetch API in RemoteServiceModule.
Example