View Source Instream.HTTPClient behaviour (Instream v2.2.1)
Behaviour definition for switchable HTTP clients.
Link to this section Summary
Link to this section Types
@type method() :: :get | :head | :post
@type response() :: {:ok, status :: pos_integer(), headers :: list()} | {:ok, status :: pos_integer(), headers :: list(), body :: binary()} | {:error, term()}