View Source BinanceHttp.Http.Client behaviour (binance_http v0.1.2)

Link to this section Summary

Callbacks

Abstraction for integrate http client

Link to this section Callbacks

Link to this callback

request(method, url, body, headers, opts)

View Source
@callback request(
  method :: binary(),
  url :: binary(),
  body :: term(),
  headers :: list(),
  opts :: list()
) ::
  {:ok, status :: non_neg_integer(), headers :: list() | map(),
   body :: nil | binary()}
  | {:error, term()}

Abstraction for integrate http client

Link to this section Functions

Link to this function

request(method, url, body, headers, opts)

View Source