ObjectWrap.getHeader

Gets the value of the first header with the specified name.

class ObjectWrap
string
getHeader
(
string header
)

Parameters

header string

header name

Return Value

Type: string

the value of the requested header if it exists or null otherwise.