Skip to main content

Module session

Module session 

Source

Structs§

ClientInfo
Client identity extracted from the MCP initialize request’s clientInfo param.
MemorySessionStore
In-memory session store backed by DashMap for lock-free concurrent access.
SessionInfo
Observed session metadata tracked by the proxy for debugging/observability.

Enums§

SessionState
Observed MCP session state — inferred from method calls passing through the proxy. The proxy doesn’t control transitions; it observes them.

Traits§

SessionStore
Trait for session storage backends. Async to support I/O-backed stores (Redis, database, logging).

Functions§

parse_client_info
Extract clientInfo from MCP initialize request params.