class Session::RedisStore(T)
- Session::RedisStore(T)
- Session::Store(T)
- Reference
- Object
Defined in:
stores/redis_store.crConstructors
Instance Method Summary
- #[](key : String) : SessionId(T)
- #[]=(key : String, session : SessionId(T)) : SessionId(T)
- #[]?(key : String) : SessionId(T) | Nil
- #clear
- #delete(key : String)
- #size : Int64
- #storage : String
Instance methods inherited from class Session::Store(T)
[](key : String) : SessionId(T)
[],
[]=(key : String, session : SessionId(T)) : SessionId(T)
[]=,
[]?(key : String) : SessionId(T) | Nil
[]?,
clear
clear,
create : SessionId(T)
create,
create_session_cookie(host : String) : HTTP::Cookie
create_session_cookie,
current_session : SessionId(T)
current_session,
data
data,
delete(key : String)delete delete, load_from(request_cookies : HTTP::Cookies) : SessionId(T) | Nil load_from, on(event : Symbol, session_id : String, data : T) on, session_id : String session_id, session_key session_key, set_cookies(response_cookies : HTTP::Cookies, host : String = "") : Nil set_cookies, size : Int64 size, timeout timeout, valid? : Bool valid?