sip.js.outgoingrequestmessage.getheaders.md
September 26, 2022 ยท View on GitHub
Home > sip.js > OutgoingRequestMessage > getHeaders
OutgoingRequestMessage.getHeaders() method
Get the header/s of the given name.
Signature:
getHeaders(name: string): Array<string>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| name | string | header name |
Returns:
Array<string>
Array with all the headers of the specified name.