SessionManager.stateFor

The ConnectionState this manager owns for the active session id, or null when the id is empty, unknown, or already terminated. The request path puts this on the request context so dispatch reads/writes only this session's per-connection state. Resolving a session refreshes its last-activity timestamp so an in-use session is never swept as idle.

class SessionManager
@safe
stateFor
(
string id
)