Structs§
- Current
Session - NewSession
- Request
State - Request-scoped typed value.
- Request
State Key - Request
State Store - Request-scoped state storage.
Functions§
- current_
new_ session - current_
request_ path - Read the normalized endpoint path for this request, when available.
- current_
session - current_
session_ user - Read the current session user JSON for this request, when an endpoint resolved one.
- define_
request_ state - Define a typed request-scoped state value.
- has_
request_ state - Returns true when the current async task has request state.
- run_
with_ request_ state - Run a future inside a fresh request state scope.
- set_
current_ new_ session - set_
current_ request_ path - Store the normalized endpoint path for hooks running in this request.
- set_
current_ session - set_
current_ session_ user - Store the current session user JSON for after-response hooks in this request.