Receives the SIP messages arriving at a listener or connection.
Handlers are given as {module, arg} and called in the process owning the
socket, so they should hand the message over to another process quickly.
The Caracola.Transport.Port identifies where the message came from, and
can be used to reply with Caracola.Transport.send/2.
Summary
Callbacks
Called for each message received, in the process owning the socket. The return value is ignored.
Types
Callbacks
@callback handle_message(Caracola.Transport.Port.t(), Caracola.Message.t(), arg :: term()) :: any()
Called for each message received, in the process owning the socket. The return value is ignored.