ReqClient.Adapter behaviour (req_client v0.1.16)

Copy Markdown View Source

Wrappable adapter behaviour

Summary

Callbacks

run(t, term)

@callback run(Req.Request.t(), term()) ::
  {Req.Request.t(), Req.Response.t() | Exception.t()}

stub?()

@callback stub?() :: boolean()