class
ActionController::MCPServer::SessionStore
- ActionController::MCPServer::SessionStore
- Reference
- Object
Overview
in-memory session storage, sessions are not shared between processes
Defined in:
action-controller/mcp/session.crInstance Method Summary
-
#[]?(id : String) : Session | Nil
returns the active session, refreshing its expiry
- #create(protocol_version : String, bound : Hash(String, String) = {} of String => String) : Session
- #delete(id : String) : Session | Nil
- #size : Int32
Instance Method Detail
returns the active session, refreshing its expiry