pagantis_elixir_tools v0.18.0 ElixirTools.IdempotencyKey

Provides functionality for idempotent controllers. Extract, verify format of idempotency keys.

Link to this section Summary

Functions

Extract idempotency key from header

Link to this section Types

Link to this type

idempotency_key()

idempotency_key() :: Ecto.UUID.t() | nil

Link to this section Functions

Link to this function

get(conn)

get(Plug.Conn.t()) :: {:ok, idempotency_key()} | error_format_check()

Extract idempotency key from header