Sippet.Message.StatusLine.to_iodata

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

Specs

to_iodata(t()) :: iodata()

Returns an iodata 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_iodata ["SIP/", "2", ".", "0", " ", "202", " ", "Accepted"]