vibe.db.redis.sessionstore

Types 1

classRedisSessionStore : SessionStore
Fields
Duration m_expirationTime
Methods
void releaseUnusedConnections() @safeRelease all connections that are not in use. Call this at the end of your program to clean up unused sockets that may be held by the GC.
Duration expirationTime() @property constThe duration without access after which a session expires.
void expirationTime(Duration dur) @propertyditto
SessionStorageType storageType() @property const
Session create()
Session open(string id)
void set(string id, string name, Variant value) @trusted
Variant get(string id, string name, lazy Variant defaultVal) @trusted
bool isKeySet(string id, string key)
void remove(string id, string key)
void destroy(string id)
int delegate(int delegate(ref string key, ref Variant value)) iterateSession(string id)
int iterateSession(string id, scope int delegate(string key) @safe del)
Constructors
this(string host, long database, ushort port = RedisClient.defaultPort)Constructs a new Redis session store.