View Source Assent.HTTPAdapter.HTTPResponse (Assent v0.2.9)

Struct used by HTTP adapters to normalize HTTP responses.

Summary

Types

@type header() :: {binary(), binary()}
@type t() :: %Assent.HTTPAdapter.HTTPResponse{
  body: binary() | term(),
  headers: [header()],
  http_adapter: atom(),
  request_url: binary(),
  status: integer()
}

Functions