class Orion::Middleware::SessionStore

Overview

Session data container

Defined in:

orion/middleware/session.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(data : Hash(String, String) = {} of String => String, id : String | Nil = nil) #

[View source]

Instance Method Detail

def [](key : String | Symbol) : String #

[View source]
def []=(key : String | Symbol, value) #

[View source]
def []?(key : String | Symbol) : String | Nil #

[View source]
def clear #

[View source]
def data : Hash(String, String) #

[View source]
def delete(key : String | Symbol) : String | Nil #

[View source]
def has_key?(key : String | Symbol) : Bool #

[View source]
def id : String | Nil #

[View source]
def modified? : Bool #

[View source]