Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • SessionStore

Indexable

[key: string]: any

Index

Methods

Methods

destroy

  • destroy(sid: string, callback?: (err?: any) => void): void
  • Destroys the session with the given session ID.

    Parameters

    • sid: string
    • Optional callback: (err?: any) => void
        • (err?: any): void
        • Parameters

          • Optional err: any

          Returns void

    Returns void

get

set

  • Upsert a session in the store given a session ID and SessionData

    Parameters

    • sid: string
    • session: SessionStorePayload
    • Optional callback: (err?: any) => void
        • (err?: any): void
        • Parameters

          • Optional err: any

          Returns void

    Returns void