sip.js.outgoingrequest.cancel.md
September 26, 2022 ยท View on GitHub
Home > sip.js > OutgoingRequest > cancel
OutgoingRequest.cancel() method
Sends a CANCEL message targeting this request to the UAS.
Signature:
cancel(reason?: string, options?: RequestOptions): void;
Parameters
| Parameter | Type | Description |
|---|---|---|
| reason | string | Reason for canceling request. |
| options | RequestOptions | Request options bucket. |
Returns:
void