deno.com
method OutgoingMessage.prototype.getHeader
#OutgoingMessage.prototype.getHeader(name: string):
number
| string
| string[]
| undefined

Gets the value of the HTTP header with the given name. If that header is not set, the returned value will be undefined.

Parameters #

#name: string

Name of header

Return Type #

number
| string
| string[]
| undefined