Sippet.Core.receive_request

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

receive_request(incoming_request, server_key)

View Source

Specs

receive_request(
  incoming_request :: Sippet.Message.request(),
  server_key :: Sippet.Transactions.Server.t() | nil
) :: any()

Receives a new incoming request from a remote host, or ACK.

The server_key indicates the name of the transaction created when the request was received. If it is an ACK, then the server_key is nil.

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