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

Struct used by HTTP adapters to normalize HTTP responses.

Summary

Types

header()

@type header() :: {binary(), binary()}

t()

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

Functions

format(response)