core / pragma.session /
Package pragma.session #
Types #
| Name | Summary |
|---|---|
This plugin accepts a configurable number of entries, with a limit on the size of the keys and values. | |
The SessionContextPlugin provides the opportunity for performing server side validation and sanitization of state to be cached within a Pragma session |
Functions #
| Name | Summary |
|---|---|
Direct-routes localNotificationRequest to every distributed instance of the calling service, including this one. The request is identical for each instance - only the routing target varies - and the response is empty, so callers pass a prebuilt request rather than a per-instance builder. | |
Delivers notification to every session held by this instance. | |
Defense-in-depth: every executor stamps the request id onto the answer it builds (valid responses and errors alike, including bad-session/no-permission, which now receive the id), but every request also flows through this one choke point on the way out, so a future executor that forgets still cannot emit an answer a client is unable to correlate. Belt to the executors’ suspenders. |
Properties #
| Name | Summary |
|---|---|
Default batching for partner and operator broadcasts. Player sessions size their batches from PlayerSessionConfig because a shard can hold enough of them for an unthrottled fan-out to matter. Partner sessions default to these values through PartnerSessionConfig, with no inter-batch delay since partner connection counts are orders of magnitude smaller. Operator sessions always use these values. |