Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface HttpResponse

A HTTP response.

Hierarchy

  • HttpResponse

Index

Properties

body

body: Buffer

The body.

code

code: number

The response code.

headers

headers: object

The list of response headers.

Type declaration

  • [key: string]: string

message

message: string

The status message.

object

object: IncomingMessage

The raw object.

Generated using TypeDoc