Module

x/aleph/server/types.ts>SessionStorage

The Full-stack Framework in Deno.
Go to Latest
interface SessionStorage
import { type SessionStorage } from "https://deno.land/x/aleph@1.0.0-beta.1/server/types.ts";

Methods

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