Module

x/aleph/server/session.ts

The Full-stack Framework in Deno.
Go to Latest
class MemorySessionStorage
implements SessionStorage
import { MemorySessionStorage } from "https://deno.land/x/aleph@1.0.0-beta.1/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>