Skip to main content

Module session

Module session 

Source
Expand description

Server-side session state — shared across all connections.

Structs§

ClientSession
Per-client session.
ServerState
Global server state shared across all connections.
ServerStateConfig
Builder for constructing a ServerState with embedder-supplied dependencies. Embedders (e.g. tokhn-daemon) use this to inject their own memgine handle and other shared infrastructure; the standalone car-server binary uses ServerState::standalone which calls with_config under the hood.
WsChannel
Shared write half of the WebSocket, plus pending callback channels.
WsMemgineIngestSink
Per-meeting fanout sink that ingests transcript text into a session-scoped memgine using the Arc<tokio::sync::Mutex<...>> wrapper, then forwards every event upstream untouched.
WsToolExecutor
Tool executor that sends callbacks to the client over WebSocket.
WsVoiceEventSink
Voice event sink that forwards events to a specific WebSocket client as voice.event JSON-RPC notifications.

Enums§

A2aRouteAuth
Server-side credentials for continuing an A2A-owned A2UI surface.