class Launch::Router::Session::RedisStore

Defined in:

launch/router/session/redis_store.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from class Launch::Router::Session::AbstractStore

current_session current_session, destroy destroy, id id, set_session set_session, update(other_hash : Hash(String | Symbol, String)) update

Instance methods inherited from class Object

blank? blank?, present? present?

Constructor Detail

def self.new(store : Redis, cookies : Launch::Router::Cookies::Store, key : String, expires : Int32 = 120) #

[View source]

Class Method Detail

def self.build(store, cookies, session) #

[View source]

Instance Method Detail

def [](key : String | Symbol) #

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

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

[View source]
def changed? #

[View source]

[View source]
def cookies=(cookies : Launch::Router::Cookies::Store) #

[View source]
def current_session #

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

[View source]
def destroy #

[View source]
def empty? #

[View source]
def expires : Int32 #

[View source]
def expires=(expires : Int32) #

[View source]
def expires_at #

[View source]
def fetch(key : String | Symbol, default = nil) #

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

[View source]
def id #

[View source]
def key : String #

[View source]
def key=(key : String) #

[View source]
def keys #

[View source]
def session_id : String #

[View source]
def session_id=(session_id : String) #

[View source]
def set_session #

[View source]
def store : Redis #

[View source]
def to_h #

[View source]
def update(hash : Hash(String | Symbol, String)) #

[View source]
def values #

[View source]