View Source Stellar.Horizon.Client.Default (Elixir Stellar SDK v0.22.0)

Hackney HTTP client implementation.

This implementation allows you to use your own JSON encoding library. The default is Jason.

Summary

Types

@type body() :: binary()
@type client_response() :: success_response() | error_response()
@type error_response() :: {:error, status(), headers(), body()} | {:error, any()}
@type headers() :: [{binary(), binary()}, ...]
@type parsed_response() :: {:ok, map()} | {:error, struct()}
@type status() :: pos_integer()
@type success_response() :: {:ok, status(), headers(), body()}