Skip to content

Interface: HttpResponse ​

Properties ​

bodyBase64? ​

ts
optional bodyBase64?: string;

bodyText? ​

ts
optional bodyText?: string;

headers ​

ts
headers: Record<string, string>;

Header names lower-cased; repeated headers joined with ', '.


ok ​

ts
ok: boolean;

status ​

ts
status: number;

Methods ​

json() ​

ts
json(): unknown;

bodyText parsed as JSON.

Returns ​

unknown

Released under the Apache-2.0 License.