ExMagicEden.HTTPClient (ex_magic_eden v0.0.2)
Link to this section Summary
Link to this section Types
Link to this type
api_key()
@type api_key() :: String.t()
Link to this type
auth_response()
@type auth_response() :: {:ok, map()} | {:error, error_reason()}
Link to this type
error_reason()
@type error_reason() :: :timeout | :non_existent_domain | Maptu.Extension.non_strict_error_reason() | HTTPoison.Error.t() | map()
Link to this type
params()
@type params() :: map()
Link to this type
path()
@type path() :: String.t()
Link to this type
uri()
@type uri() :: String.t()
Link to this type
verb()
@type verb() :: :get | :post | :put | :delete
Link to this section Functions
Link to this function
auth_get(path, api_key, params)
@spec auth_get(path(), api_key(), params()) :: auth_response()
Link to this function
auth_post(path, api_key, params)
@spec auth_post(path(), api_key(), params()) :: auth_response()
Link to this function
auth_request(verb, uri, api_key, body)
@spec auth_request(verb(), uri(), api_key(), term()) :: auth_response()
Link to this function
domain()
@spec domain() :: String.t()
Link to this function
non_auth_get(path, params)
@spec non_auth_get(path(), params()) :: auth_response()
Link to this function
non_auth_request(verb, uri, body)
@spec non_auth_request(verb(), uri(), term()) :: auth_response()
Link to this function
origin()
@spec origin() :: String.t()
Link to this function
protocol()
@spec protocol() :: String.t()
Link to this function