ExFtx.HTTPClient (ex_ftx v0.0.14)
Link to this section Summary
Link to this section Types
Link to this type
auth_response()
Specs
auth_response() :: {:ok, ExFtx.JsonResponse.t()} | {:error, error_reason()}
Link to this type
credentials()
Specs
credentials() :: ExFtx.Credentials.t()
Link to this type
error_reason()
Specs
error_reason() :: Maptu.Extension.non_strict_error_reason() | HTTPoison.Error.t()
Link to this type
non_auth_response()
Specs
non_auth_response() :: {:ok, ExFtx.JsonResponse.t()} | {:error, error_reason()}
Link to this type
params()
Specs
params() :: map()
Link to this type
path()
Specs
path() :: String.t()
Link to this type
uri()
Specs
uri() :: String.t()
Link to this type
verb()
Specs
verb() :: :get | :post | :put | :delete
Link to this section Functions
Link to this function
api_path()
Specs
api_path() :: String.t()
Link to this function
auth_delete(path, credentials, params \\ %{})
Specs
auth_delete(path(), credentials(), params()) :: auth_response()
Link to this function
auth_get(path, credentials, params)
Specs
auth_get(path(), credentials(), params()) :: auth_response()
Link to this function
auth_post(path, credentials, params)
Specs
auth_post(path(), credentials(), params()) :: auth_response()
Link to this function
auth_request(verb, uri, credentials, body)
Specs
auth_request(verb(), uri(), credentials(), term()) :: auth_response()
Link to this function
domain()
Specs
domain() :: String.t()
Link to this function
non_auth_get(path, params \\ %{})
Specs
non_auth_get(path(), params()) :: non_auth_response()
Link to this function
non_auth_request(verb, uri)
Specs
non_auth_request(verb(), uri()) :: non_auth_response()
Link to this function
origin()
Specs
origin() :: String.t()
Link to this function
protocol()
Specs
protocol() :: String.t()
Link to this function