Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 605 Bytes

sip.js.incomingmessage.hasheader.md

File metadata and controls

26 lines (15 loc) · 605 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