sip.js.outgoingrequestmessage._constructor_.md
September 26, 2022 ยท View on GitHub
Home > sip.js > OutgoingRequestMessage > (constructor)
OutgoingRequestMessage.(constructor)
Constructs a new instance of the OutgoingRequestMessage class
Signature:
constructor(method: string, ruri: URI, fromURI: URI, toURI: URI, options?: OutgoingRequestMessageOptions, extraHeaders?: Array<string>, body?: Body);
Parameters
| Parameter | Type | Description |
|---|---|---|
| method | string | |
| ruri | URI | |
| fromURI | URI | |
| toURI | URI | |
| options | OutgoingRequestMessageOptions | |
| extraHeaders | Array<string> | |
| body | Body |