module Marten::HTTP::Session::Store

Defined in:

marten/http/session/store.cr
marten/http/session/store/base.cr
marten/http/session/store/cookie.cr

Class Method Summary

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.


[View source]
def self.register(name : String | Symbol, klass : Base.class) #

Allows to register a new session store implementation.


[View source]
def self.registry #

Returns the current registry of session stores.


[View source]