Sippet.Message.parse-exclamation-mark

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

Specs

parse!(String.t() | charlist()) :: t() | no_return()

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

Raises if the string is an invalid SIP header.

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.