ExX2Y2.Http.Adapter behaviour (ex_x2y2 v0.0.3)
Link to this section Summary
Link to this section Types
Link to this type
error_reason()
@type error_reason() :: :timeout | :nxdomain | Maptu.Extension.non_strict_error_reason() | term()
Link to this type
result()
@type result() :: {:ok, ExX2Y2.Http.Response.t()} | {:error, error_reason()}
Link to this section Callbacks
Link to this callback
send(t)
@callback send(ExX2Y2.Http.Request.t()) :: result()