class Armature::Session::RedisStore
- Armature::Session::RedisStore
- Armature::Session::Store
- Reference
- Object
Defined in:
redis_session.crConstructors
Instance Method Summary
- #call(context : HTTP::Server::Context)
- #key : String
- #load(key : String) : Hash(String, JSON::Any)
- #save(key : String, session : Session)
Instance methods inherited from class Armature::Session::Store
key : String
key
Constructor methods inherited from class Armature::Session::Store
new(key : String)
new
Constructor Detail
def self.new(key : String, redis : Redis::Client = Redis::Client.new, expiration : Time::Span | Nil = 2.weeks, log : Log = Log.for("armature.session"))
#