Sippet.Message.parse

You're seeing just the function parse, go back to Sippet.Message module for more information.

Specs

parse(iodata()) :: {:ok, t()} | {:error, atom()}

Parses a SIP message header block as received by the transport layer.

In order to correctly set the message body, you have to verify the :content_length header; if it exists, it reflects the body size and you have to set it manually on the returned message.