Terminus v0.1.1 Terminus.HTTP.Response View Source

TODO

Link to this section Summary

Functions

Decodes the data in the given response data buffer, using the specified decoder.

Link to this section Types

Specs

t() :: %Terminus.HTTP.Response{
  data: binary(),
  headers: list(),
  status: integer()
}

Link to this section Functions

Link to this function

decode_data(response, list)

View Source

Specs

decode_data(t(), [{:as, atom()}]) :: {t(), list()}

Decodes the data in the given response data buffer, using the specified decoder.