HttpResponseHeaders

Hierarchy

  • HttpResponseHeaders

Index

Constructors

Properties

Methods

Constructors

constructor

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

Parameters:

NameTypeDefault

headers

IncomingHttpHeaders | HttpHeaders | Headers | string

{}

Returns: HttpResponseHeaders

Properties

map

map: Record‹string, string›

Methods

get

get(key: string): undefined | string

Parameters:

NameType

key

string

Returns: undefined | string


set

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

Parameters:

NameType

key

string

value

any

Returns: void

Last updated