Sippet.Core.receive_response

You're seeing just the callback receive_response, go back to Sippet.Core module for more information.
Link to this callback

receive_response(incoming_response, client_key)

View Source

Specs

receive_response(
  incoming_response :: Sippet.Message.response(),
  client_key :: Sippet.Transactions.Client.t() | nil
) :: any()

Receives a response for a sent request.

The client_key indicates the name of the transaction created when the request was sent using Sippet.Transactions.send_request/1.

The function receive_response/2 is called from the client transaction process when the parameter client_key is not nil, and from the transport process (possibly a poolboy worker process), when the client_key is nil.