Interface AbbreviatedResponse

Interface representing a response object similar to what the request package produces, but without the utility methods it includes.

interface AbbreviatedResponse {
    body: string;
    headers: Record<string, string>;
    statusCode: number;
    statusMessage: string;
}

Properties

body: string
headers: Record<string, string>
statusCode: number
statusMessage: string