method ISession.destroy
ISession.destroy(): void

Ends the session: clears the data, deletes any stored entry, and instructs the client to drop the cookie.

Return Type

void

Usage

import { type ISession } from "common/src/index.ts";