Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 1.02 KB

sip.js.incomingrequestdelegate.oncancel.md

File metadata and controls

24 lines (14 loc) · 1.02 KB

Home > sip.js > IncomingRequestDelegate > onCancel

IncomingRequestDelegate.onCancel() method

Receive CANCEL request. https://tools.ietf.org/html/rfc3261\#section-9.2 Note: Currently CANCEL is being handled as a special case. No UAS is created to handle the CANCEL and the response to it CANCEL is being handled statelessly by the user agent core. As such, there is currently no way to externally impact the response to the a CANCEL request and thus the method here is receiving a "message" (as apposed to a "uas").

Signature:

onCancel?(message: IncomingRequestMessage): void;

Parameters

Parameter Type Description
message IncomingRequestMessage Incoming CANCEL request message.

Returns:

void