ExStorageService.Cluster.RequestId (ex_storage_service v0.6.3)

Copy Markdown View Source

Generates and validates opaque request IDs for authenticated cluster traffic.

Every HTTP attempt gets a fresh ID so replay protection does not conflict with an idempotent higher-level operation retry.

Summary

Functions

generate()

@spec generate() :: String.t()

valid?(request_id)

@spec valid?(term()) :: boolean()