class

Armature::Session::RedisStore

Inherits Armature::Session::Store / HTTP::Handler / Reference / Object

Constructors

new(key : String, redis : Redis::Client = Redis::Client.new, expiration : Time::Span | Nil = 2.weeks, http_only : Bool = true, path : String | Nil = "/", log : Log = Log.for("armature.session"))
Source

Instance methods

call(context : HTTP::Server::Context)
Source
load(key : String) : Hash(String, JSON::Any)
Source
save(key : String, session : Session)
Source

Nested types