Monero v0.9.0 Monero.Request View Source

Makes requests to Monero backend and attempts to retry if needed

Link to this section Summary

Functions

Fire a request. Not inteded to be called by the user, see Monero.request

Link to this section Types

Link to this type error_t() View Source
error_t() :: {:error, {:http_error, http_status, binary}}
Link to this type http_status() View Source
http_status() :: pos_integer
Link to this type response_t() View Source
response_t() :: success_t | error_t
Link to this type success_content() View Source
success_content() :: %{body: binary, headers: [{binary, binary}]}
Link to this type success_t() View Source
success_t() :: {:ok, success_content}

Link to this section Functions

Link to this function request(http_method, url, data, headers, config, service) View Source

Fire a request. Not inteded to be called by the user, see Monero.request