class Telecr::Session::Middleware

Overview

Session Middleware automatically loads and saves user data. It injects the session hash into the Context for easy access.

Defined in:

session/middleware.cr

Constructors

Instance Method Summary

Instance methods inherited from class Telecr::Core::Middleware

call(ctx : Context, next_mw : Context -> ) call

Constructor Detail

def self.new(store : MemoryStore | Nil = nil) #

[View source]

Instance Method Detail

def call(ctx : Core::Context, next_mw : Core::Context -> ) #

[View source]
def store : MemoryStore #

[View source]