Atex.HTTP.Adapter behaviour (atex v0.3.0)
View SourceBehaviour for defining a HTTP client adapter to be used within atex.
Summary
Types
@type error() :: {:error, Atex.HTTP.Response.t() | term()}
@type success() :: {:ok, Atex.HTTP.Response.t()}
Behaviour for defining a HTTP client adapter to be used within atex.
@type error() :: {:error, Atex.HTTP.Response.t() | term()}
@type success() :: {:ok, Atex.HTTP.Response.t()}