Module

x/oak_sessions/mod.ts>RedisStore

Session middleware for Oak
Latest
class RedisStore
implements Store
import { RedisStore } from "https://dotland.deno.dev/x/oak_sessions@v9.0.0/mod.ts";

Constructors

new
RedisStore(db: Redis, keyPrefix?)

Properties

db: Redis
keyPrefix: string

Methods

createSession(sessionId: string, initialData: SessionData)
deleteSession(sessionId: string)
getSessionById(sessionId: string)
persistSessionData(sessionId: string, sessionData: SessionData)
import RedisStore
import { RedisStore } from "https://dotland.deno.dev/x/oak_sessions@v9.0.0/mod.ts";