module Marten::HTTP::Session::Store
Defined in:
marten/http/session/store.crmarten/http/session/store/base.cr
marten/http/session/store/cookie.cr
Class Method Summary
-
.get(store_name : String | Symbol)
Returns the session store class associated with a specific
store_name
. -
.register(name : String | Symbol, klass : Base.class)
Allows to register a new session store implementation.
-
.registry
Returns the current registry of session stores.
Class Method Detail
def self.get(store_name : String | Symbol)
#
Returns the session store class associated with a specific store_name
.
If no session store implementatiob can be found, a Marten::HTTP::Session::Errors::UnknownStore
exception is
raised.
Allows to register a new session store implementation.