Inttegro.Client.RequestOptions (inttegro v0.2.0)

Copy Markdown View Source

Options accepted by resource operations.

Pass these values as a keyword list in the final argument of a resource function. Use :idempotency_key when a request creates or changes state; reuse the same value only when retrying the same logical operation. :headers is intended for application-owned correlation headers and must never be used to replace the SDK's authorization header.

Summary

Types

t()

Per-request transport options.

Types

t()

@type t() :: %Inttegro.Client.RequestOptions{
  headers: [{String.t(), String.t()}],
  idempotency_key: String.t() | nil
}

Per-request transport options.