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

x/frugal/src/server/session/mod.ts>Session

A frugal web framework
Go to Latest
class Session
implements PageSession
Re-export
import { Session } from "https://deno.land/x/frugal@0.9.2/src/server/session/mod.ts";

Constructors

new
Session(data?: SessionData, id?: string)

Properties

readonly
_data
readonly
_id
readonly
_shouldBePersisted

Methods

delete(key: string): void
get<T = unknown>(key: string): T | undefined
has(key: string): boolean
set<T = unknown>(key: string, value: T): void