Home > sip.js > UserAgentCore > makeOutgoingRequestMessage
Outgoing request message factory function.
Signature:
makeOutgoingRequestMessage(method: string, requestURI: URI, fromURI: URI, toURI: URI, options: OutgoingRequestMessageOptions, extraHeaders?: Array<string>, body?: Body): OutgoingRequestMessage;
Parameter | Type | Description |
---|---|---|
method | string | Method. |
requestURI | URI | Request-URI. |
fromURI | URI | From URI. |
toURI | URI | To URI. |
options | OutgoingRequestMessageOptions | Request options. |
extraHeaders | Array<string> | Extra headers to add. |
body | Body | Message body. |
Returns: