import { Session } from "https://deno.land/x/entropy@1.0.0-beta.17/src/http/session.class.ts";
Methods
private
serialize(key?: string | string[]): Promise<Record<string, unknown>>all(): Promise<Record<string, unknown>>
decrement(): Promise<number>
key: string | string[],
by?,
defaultValue?: number,
delete(key: string | string[]): Promise<void>
deleteAll(key: string | string[]): Promise<void>
destroy(): Promise<void>
flash(key: string, value: unknown): Promise<void>
flashed<TValue = unknown>(key: string): Promise<TValue | undefined>
get<TValue>(key: string | string[]): Promise<TValue | undefined>
has(key: string | string[]): Promise<boolean>
increment(): Promise<number>
key: string | string[],
by?,
defaultValue?: number,
save(): Promise<void>
set(key: string | string[], value: unknown): Promise<void>
setup(): Promise<void>