class ActionController::MCPServer::SessionStore

Overview

in-memory session storage, sessions are not shared between processes

Defined in:

action-controller/mcp/session.cr

Instance Method Summary

Instance Method Detail

def []?(id : String) : Session | Nil #

returns the active session, refreshing its expiry


[View source]
def create(protocol_version : String, bound : Hash(String, String) = {} of String => String) : Session #

[View source]
def delete(id : String) : Session | Nil #

[View source]
def size : Int32 #

[View source]