Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 602 Bytes

sip.js.incomingmessage.setheader.md

File metadata and controls

25 lines (15 loc) · 602 Bytes

Home > sip.js > IncomingMessage > setHeader

IncomingMessage.setHeader() method

Replace the value of the given header by the value.

Signature:

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

Parameters

Parameter Type Description
name string header name
value string header value

Returns:

void