Sippet.Message.valid-question-mark

You're seeing just the function valid-question-mark, go back to Sippet.Message module for more information.

Specs

valid?(t()) :: boolean()

Checks whether a message is valid.

Specs

valid?(t(), {protocol(), host :: String.t(), port :: integer()}) :: boolean()

Checks whether a message is valid, also checking if it corresponds to the indicated incoming transport tuple {protocol, host, port}.