ex_binance v0.0.2 ExBinance.Rest.HTTPClient

Link to this section Summary

Link to this section Types

Link to this type

bad_symbol_error()
bad_symbol_error() :: :bad_symbol

Link to this type

config_error()
config_error() :: {:config_missing, String.t()}

Link to this type

connect_timeout_error()
connect_timeout_error() :: :connect_timeout

Link to this type

credentials()
credentials() :: ExBinance.Credentials.t()

Link to this type

decode_error()
decode_error() :: {:decode_error, Jason.DecodeError.t()}

Link to this type

header()
header() :: {key :: String.t(), value :: String.t()}

Link to this type

http_error()
http_error() :: {:http_error, any()}

Link to this type

path()
path() :: String.t()

Link to this type

timeout_error()
timeout_error() :: :timeout

Link to this type

unhandled_binance_error()
unhandled_binance_error() :: {:binance_error, map()}

Link to this section Functions

Link to this function

get(path, params, headers \\ [])
get(path(), map(), [header()]) :: {:ok, any()} | {:error, shared_errors()}

Link to this function

get_auth(path, params, credentials)
get_auth(path(), map(), credentials()) ::
  {:ok, any()} | {:error, shared_errors()}

Link to this function

post(path, params, credentials)
post(String.t(), map(), credentials()) ::
  {:ok, any()} | {:error, shared_errors()}