View Source Avrora.HTTPClient behaviour (avrora v0.25.0)

Minimal HTTP client using built-in Erlang httpc library.

Link to this section Summary

Link to this section Callbacks

@callback get(String.t(), keyword(String.t())) :: {:ok, map()} | {:error, term()}
@callback post(String.t(), String.t(), keyword(String.t())) ::
  {:ok, map()} | {:error, term()}