Sippet.Message.StatusLine.default_reason

You're seeing just the function default_reason, go back to Sippet.Message.StatusLine module for more information.
Link to this function

default_reason(status_code)

View Source

Specs

default_reason(status_code()) :: binary() | nil

Returns a binary representing the default reason phrase for the given status_code.

If the status_code does not have a corresponding default reason phrase, returns nil.

Examples

iex> Sippet.Message.StatusLine.default_reason(202)
"Accepted"
iex> Sippet.Message.StatusLine.default_reason(499)
nil