Sippet.Message.StatusLine.to_string

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

Specs

to_string(t()) :: binary()

Returns a binary which corresponds to the text representation of the given Status-Line.

It does not includes an ending line CRLF.

Examples

iex> alias Sippet.StatusLine iex> StatusLine.new(202) |> StatusLine.to_string "SIP/2.0 202 Accepted"