Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 672 Bytes

File metadata and controls

26 lines (15 loc) · 672 Bytes

Home > sip.js > IncomingMessage > getHeader

IncomingMessage.getHeader() method

Get the value of the given header name at the given position.

Signature:

getHeader(name: string): string | undefined;

Parameters

Parameter Type Description
name string header name

Returns:

string | undefined

Returns the specified header, undefined if header doesn't exist.