Skip to content

Response

Response is what CosmosAsync.request and CosmosAsync.resolve return. The other methods return only its body.

interface Response {
body: any;
headers: Headers;
status: number;
uri?: string;
}
PropertyTypeDescription
bodyBodyThe parsed response body.
headersHeadersThe response headers.
statusnumberThe HTTP status code.
uristring | undefinedThe request URI.