Represents an HTTP header - a key/value pair of meta-information about a request.

Hierarchy

  • HttpHeader

Constructors

Properties

Constructors

  • Parameters

    • key: string
    • value: string | SecretString

    Returns HttpHeader

Properties

key: string

Key of the HTTP header.

value: string | SecretString

Value of the HTTP header.