Type alias HttpResponse

HttpResponse: {
    body: string;
    headers: {
        [name: string]: string;
    };
    statusCode: number;
}

Type declaration

  • body: string
  • headers: {
        [name: string]: string;
    }
    • [name: string]: string
  • statusCode: number