HttpResponseHeaders
+ new HttpResponseHeaders(headers
: IncomingHttpHeaders | HttpHeaders | Headers | string): HttpResponseHeaders
Parameters:
Returns: HttpResponseHeaders
• map: Record‹string, string›
▸ get(key
: string): undefined | string
Parameters:
Returns: undefined | string
▸ set(key
: string, value
: any): void
Parameters:
Returns: void
Name | Type | Default |
---|---|---|
Name | Type |
---|---|
Name | Type |
---|---|
headers
IncomingHttpHeaders | HttpHeaders | Headers | string
{}
key
string
key
string
value
any