Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 1.06 KB

sip.js.incomingrequestdelegate.md

File metadata and controls

21 lines (13 loc) · 1.06 KB

Home > sip.js > IncomingRequestDelegate

IncomingRequestDelegate interface

Delegate providing custom handling of incoming requests.

Signature:

export interface IncomingRequestDelegate 

Methods

Method Description
onCancel(message) 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").
onTransportError(error) A transport error occurred attempted to send a response.