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