avrora v0.1.0-beta Avrora.HttpClient behaviour View Source

Minimalistic HTTP client with a get/post functionality and built-in JSON encode/decode behaviour.

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