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

Minimal HTTP client using built-in Erlang httpc library.

Summary

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()}