Module

x/aleph/server/session.ts>MemorySessionStorage

The Full-stack Framework in Deno.
Very Popular
Go to Latest
class MemorySessionStorage
implements SessionStorage
import { MemorySessionStorage } from "https://dotland.deno.dev/x/aleph@1.0.0-beta.15/server/session.ts";

Methods

delete(sid: string): Promise<void>
get(sid: string): Promise<Record<string, unknown> | undefined>
set(
sid: string,
data: Record<string, unknown>,
expires: number,
): Promise<void>