avrora v0.7.1 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)

View Source
get(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()}