Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 666 Bytes

File metadata and controls

25 lines (15 loc) · 666 Bytes

Home > sip.js > IncomingMessage > addHeader

IncomingMessage.addHeader() method

Insert a header of the given name and value into the last position of the header array.

Signature:

addHeader(name: string, value: string): void;

Parameters

Parameter Type Description
name string header name
value string header value

Returns:

void