HttpResponseHeaders

Hierarchy

  • HttpResponseHeaders

Index

Constructors

Properties

Methods

Constructors

constructor

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

Defined in packages/http/src/httpResponseHeaders.ts:6

Parameters:

Name

Type

Default

headers

IncomingHttpHeaders | HttpHeaders | Headers | string

{}

Returns: HttpResponseHeaders

Properties

map

map: Record‹string, string›

Defined in packages/http/src/httpResponseHeaders.ts:6

Methods

get

get(key: string): undefined | string

Defined in packages/http/src/httpResponseHeaders.ts:33

Parameters:

Name

Type

key

string

Returns: undefined | string

set

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

Defined in packages/http/src/httpResponseHeaders.ts:29

Parameters:

Name

Type

key

string

value

any

Returns: void

Last updated