class Amber::Router::Session::RedisStore
Defined in:
amber/router/session/redis_store.crConstructors
Class Method Summary
Instance Method Summary
- #[](key : String | Symbol)
- #[]=(key : String | Symbol, value)
- #[]?(key : String | Symbol)
- #changed?
- #cookies : Amber::Router::Cookies::Store
- #cookies=(cookies : Amber::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 Amber::Router::Session::AbstractStore
current_session
current_session,
destroy
destroy,
id
id,
set_session
set_session,
update(hash : Hash(String | Symbol, String))
update
Constructor Detail
def self.new(store : Redis, cookies : Amber::Router::Cookies::Store, key : String, expires : Int32 = 120)
#