Respose of a REST request.

interface RestResponse {
    headers: {
        [key: string]: string[];
    };
    json: any;
    status: number;
}

Properties

Properties

headers: {
    [key: string]: string[];
}

HTTP response headers.

Type declaration

  • [key: string]: string[]
json: any

REST JSON respose.

status: number

HTTP response status.