Sippet.Message.validate
You're seeing just the function
validate
, go back to Sippet.Message module for more information.
Specs
Validates if a message is valid, returning errors if found.
Specs
validate(t(), {protocol(), host :: String.t(), port :: integer()}) :: :ok | {:error, reason :: term()}
Validates if a message is valid, also checking if it corresponds to the
indicated incoming transport tuple {protocol, host, port}
. It returns the
error if found.