Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MemorySessionStore<T>

Type parameters

  • T

Hierarchy

  • MemorySessionStore

Implements

  • SessionStore<T>

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private Readonly store

store: Map<string, { expires: number; session: T }> = ...

Methods

delete

  • delete(name: string): void
  • Parameters

    • name: string

    Returns void

get

  • get(name: string): undefined | T
  • Parameters

    • name: string

    Returns undefined | T

set

  • set(name: string, value: T): void
  • Parameters

    • name: string
    • value: T

    Returns void

Generated using TypeDoc