ex_binance v0.0.4 ExBinance.Rest.HTTPClient

Link to this section Summary

Link to this section Types

Link to this type

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

Link to this type

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

Link to this type

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

Link to this type

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

Link to this type

shared_errors()
shared_errors() ::
  :timeout
  | :connect_timeout
  | {:http_error, any()}
  | {:decode_error, Jason.DecodeError.t()}
  | :bad_symbol
  | :receive_window
  | {:binance_error, map()}

Link to this section Functions

Link to this function

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

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