View Source AnyHttp.Adapters.Httpc (Any HTTP v0.3.1)

Defines the adapter for the :httpc Erlang module.

Summary

Types

@type body() :: binary()
@type content_type() :: charlist()
@type header() :: {charlist(), charlist()}
@type headers() :: [header()]
@type http_version() :: charlist()
@type httpc_error() :: term()
@type httpc_response() ::
  {{http_version(), status_code(), status_line()}, headers(), body()}
@type status_code() :: 100..599
@type status_line() :: charlist()
@type url() :: charlist()