Conduit v0.8.3 Conduit.Encoding.Identity View Source
Does nothing to the body of the message. Sets the content encoding to identity.
Link to this section Summary
Functions
Decodes the message body from gzip and sets the content encoding
Does nothing to the body and sets the content encoding to identity
Link to this section Functions
Decodes the message body from gzip and sets the content encoding.
Examples
iex> import Conduit.Message
iex> message =
iex> %Conduit.Message{}
iex> |> put_body("{}")
iex> |> Conduit.Encoding.Identity.decode([])
iex> message.body
"{}"
iex> message.content_encoding
"identity"