Home > sip.js > Dialog > createOutgoingRequestMessage
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;| Parameter | Type | Description |
|---|---|---|
| method | string |
Outgoing request method. |
| options | { cseq?: number; extraHeaders?: Array<string>; body?: Body; } |
Returns:
OutgoingRequestMessage