Represents a HTTP response message.

Final

Hierarchy

  • Response

Constructors

Methods

Constructors

  • Parameters

    • status: number

      The response code.

    • headers: Object

      The response headers. All header names will be converted to lowercase strings for consistent lookups.

    • body: string

      The response body.

    Returns Response

Methods

  • Returns string

Generated using TypeDoc