HttpResponseHeaders
Hierarchy
HttpResponseHeaders
Index
Constructors
Properties
Methods
Constructors
constructor
+ new HttpResponseHeaders(headers
: IncomingHttpHeaders | HttpHeaders | Headers | string): HttpResponseHeaders
Parameters:
Name | Type | Default |
| IncomingHttpHeaders | HttpHeaders | Headers | string | {} |
Returns: HttpResponseHeaders
Properties
map
• map: Record‹string, string›
Methods
get
▸ get(key
: string): undefined | string
Parameters:
Name | Type |
| string |
Returns: undefined | string
set
▸ set(key
: string, value
: any): void
Parameters:
Name | Type |
| string |
| any |
Returns: void
Last updated