avrora v0.11.0 Avrora.HTTPClient behaviour View Source

Minimal HTTP client using built-in Erlang httpc library.

Link to this section Summary

Link to this section Callbacks

Link to this callback

get(arg1, keyword)

View Source
get(String.t(), keyword(String.t())) :: {:ok, map()} | {:error, term()}
Link to this callback

post(arg1, arg2, keyword)

View Source
post(String.t(), String.t(), keyword(String.t())) ::
  {:ok, map()} | {:error, term()}