sip.js.dialog.createoutgoingrequestmessage.md
September 26, 2022 ยท View on GitHub
Home > sip.js > Dialog > createOutgoingRequestMessage
Dialog.createOutgoingRequestMessage() method
A request within a dialog is constructed by using many of the components of the state stored as part of the dialog. https://tools.ietf.org/html/rfc3261\#section-12.2.1.1
Signature:
createOutgoingRequestMessage(method: string, options?: {
cseq?: number;
extraHeaders?: Array<string>;
body?: Body;
}): OutgoingRequestMessage;
Parameters
| Parameter | Type | Description |
|---|---|---|
| method | string | Outgoing request method. |
| options | { cseq?: number; extraHeaders?: Array<string>; body?: Body; } |
Returns: