Sippet.send

You're seeing just the function send, go back to Sippet module for more information.

Specs

send(sippet(), request() | response()) :: :ok | {:error, reason()}

Sends a message (request or response) using transactions if possible.

Requests of method :ack is sent directly to the transport layer.

A Sippet.Transactions.Client is created for requests to handle client retransmissions, when the transport presumes it, and match response retransmissions, so the Sippet.Core doesn't get retransmissions other than 200 OK for :invite requests.

In case of success, returns :ok.