EndPointBlank.RequestStore (end_point_blank_elixir v0.3.1)

Copy Markdown

Per-process storage for request-scoped data.

Uses the process dictionary so each request process (Phoenix allocates one per request) has isolated state — the Elixir equivalent of thread-local storage used by the Ruby, Java, and JS libraries.

Summary

Functions

clear()

generate_uuid()

Generates a random UUID v4 string.

get_conn()

get_source_env_id()

get_uuid()

put_conn(conn)

put_source_env_id(id)

put_uuid(uuid)