Home > sip.js > Transaction > send
Pass message to transport for transmission. If transport fails, the transaction user is notified by callback to onTransportError().
Signature:
protected send(message: string): Promise<void>;
Parameter | Type | Description |
---|---|---|
message | string |
Returns:
Promise<void>
Rejects with TransportError
if transport fails.