btrz_ex_api_client v0.3.2 BtrzExApiClient.Types View Source

BtrzExApiClient types.

Link to this section Summary

Types

The default error tuple

HTTP headers

The allowed HTTP methods

Link to this section Types

Link to this type

error() View Source
error() :: {:error, reason :: term()}

The default error tuple.

Link to this type

headers() View Source
headers() :: [{header_name :: String.t(), header_value :: String.t()}]

HTTP headers.

Headers are sent and received as lists of two-element tuples containing two strings, the header name and header value.

Link to this type

methods() View Source
methods() :: :delete | :get | :post | :put | :patch

The allowed HTTP methods.

Methods are defined as atoms.