Conduit v0.2.1 Conduit.Encoding.Identity
Does nothing to the body of the message. Sets the content encoding to identity.
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
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> get_meta(message, :content_encoding)
"identity"