Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
class CookieSessionStorage
implements SessionStorage
import { CookieSessionStorage } from "https://deno.land/x/frugal@0.9.1/src/server/session/CookieSessionStorage.ts";

Constructors

new
CookieSessionStorage(cookie: CookieConfig)

Methods

create(
headers: Headers,
data: SessionData,
expires: number | undefined,
)
delete(headers: Headers, id: string)
get(headers: Headers, id: string)
update(
headers: Headers,
id: string,
data: SessionData,
expires?: number | undefined,
)