Sippet.Message.to_method
You're seeing just the function
to_method
, go back to Sippet.Message module for more information.
Specs
Converts a string representing a known method into an atom, otherwise as an uppercase string.
Example:
iex> Sippet.Message.to_method("INVITE")
:invite
iex> Sippet.Message.to_method("InViTe")
:invite
iex> Sippet.Message.to_method("aaa")
"AAA"