ExDeltaExchange.HTTPClient (ex_delta_exchange v0.0.3)

Link to this section Summary

Link to this section Types

Link to this type

credentials()

Specs

credentials() :: ExDeltaExchange.Credentials.t()
Link to this type

error_reason()

Specs

Specs

path() :: String.t()
Link to this type

query_params()

Specs

query_params() :: map()
Link to this type

request_body()

Specs

request_body() :: String.t()

Specs

response() :: {:ok, ExDeltaExchange.JsonResponse.t()} | {:error, error_reason()}

Specs

verb() :: :get | :post | :put | :delete

Link to this section Functions

Specs

api_path() :: String.t()
Link to this function

auth_request(verb, path, query_params, request_body, credentials)

Specs

auth_request(verb(), path(), query_params(), request_body(), credentials()) ::
  response()

Specs

domain() :: String.t()
Link to this function

get(path, query_params)

Specs

get(path(), query_params()) :: response()
Link to this function

get(path, query_params, credentials)

Specs

Link to this function

non_auth_request(verb, path, query_params, request_body)

Specs

non_auth_request(verb(), path(), query_params(), request_body()) :: response()

Specs

origin() :: String.t()

Specs

protocol() :: String.t()

Specs

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