Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oak_sessions/src/stores/Store.ts>default

Session middleware for Oak
Latest
interface default
import { type default } from "https://deno.land/x/oak_sessions@v4.1.12/src/stores/Store.ts";

Methods

getSessionById(sessionId?: string): Promise<SessionData | null> | SessionData | null
createSession(sessionId: string, initialData: SessionData): Promise<void> | void
persistSessionData(sessionId: string, sessionData: SessionData): Promise<void> | void
deleteSession(sessionIdOrContext: string | Context): Promise<void> | void