class Launch::Router::Session::RedisStore
Defined in:
launch/router/session/redis_store.crConstructors
Class Method Summary
Instance Method Summary
- #[](key : String | Symbol)
- #[]=(key : String | Symbol, value)
- #[]?(key : String | Symbol)
- #changed?
- #cookies : Launch::Router::Cookies::Store
- #cookies=(cookies : Launch::Router::Cookies::Store)
- #current_session
- #delete(key : String | Symbol)
- #destroy
- #empty?
- #expires : Int32
- #expires=(expires : Int32)
- #expires_at
- #fetch(key : String | Symbol, default = nil)
- #has_key?(key : String | Symbol) : Bool
- #id
- #key : String
- #key=(key : String)
- #keys
- #session_id : String
- #session_id=(session_id : String)
- #set_session
- #store : Redis
- #to_h
- #update(hash : Hash(String | Symbol, String))
- #values
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)
#