HttpResponseHeaders

Hierarchy

  • HttpResponseHeaders

Index

Constructors

Properties

Methods

Constructors

constructor

+ new HttpResponseHeaders(headers: IncomingHttpHeaders | HttpHeaders | Headers | string): HttpResponseHeaders

Parameters:

Name

Type

Default

headers

IncomingHttpHeaders | HttpHeaders | Headers | string

{}

Returns: HttpResponseHeaders

Properties

map

map: Record‹string, string›

Methods

get

get(key: string): undefined | string

Parameters:

Name

Type

key

string

Returns: undefined | string

set

set(key: string, value: any): void

Parameters:

Name

Type

key

string

value

any

Returns: void

Last updated