Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 620 Bytes

File metadata and controls

26 lines (15 loc) · 620 Bytes

Home > sip.js > IncomingMessage > hasHeader

IncomingMessage.hasHeader() method

Verify the existence of the given header.

Signature:

hasHeader(name: string): boolean;

Parameters

Parameter Type Description
name string header name

Returns:

boolean

true if header with given name exists, false otherwise