Skip to main content

Module session

Module session 

Source
Expand description

Session management module

Provides session persistence, storage, and file locking.

Structsยง

MessageSummary
Message summary for display (lightweight version).
Session
Full session data including messages.
SessionFileLock
File lock for preventing concurrent access to session storage.
SessionIndex
Index of all sessions, stored in ~/.matrix/sessions/index.json
SessionManager
Manager for session storage.
SessionMetadata
Session metadata stored in the index.