Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 2.21 KB

sip.js.noninviteclienttransaction.md

File metadata and controls

40 lines (26 loc) · 2.21 KB

Home > sip.js > NonInviteClientTransaction

NonInviteClientTransaction class

Non-INVITE Client Transaction.

Signature:

export declare class NonInviteClientTransaction extends ClientTransaction 

Extends: ClientTransaction

Remarks

Non-INVITE transactions do not make use of ACK. They are simple request-response interactions. https://tools.ietf.org/html/rfc3261\#section-17.1.2

Constructors

Constructor Modifiers Description
(constructor)(request, transport, user) Constructor Upon construction, the outgoing request's Via header is updated by calling setViaHeader. Then toString is called on the outgoing request and the message is sent via the transport. After construction the transaction will be in the "calling" state and the transaction id will equal the branch parameter set in the Via header of the outgoing request. https://tools.ietf.org/html/rfc3261\#section-17.1.2

Properties

Property Modifiers Type Description
kind string Transaction kind. Deprecated.

Methods

Method Modifiers Description
dispose() Destructor.
onTransportError(error) The client transaction SHOULD inform the TU that a transport failure has occurred, and the client transaction SHOULD transition directly to the "Terminated" state. The TU will handle the fail over mechanisms described in [4]. https://tools.ietf.org/html/rfc3261\#section-17.1.4
receiveResponse(response) Handler for incoming responses from the transport which match this transaction.
typeToString() For logging.