Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Session

A shell session.

Hierarchy

  • Session

Index

Methods

Methods

get

  • get<T>(key: string): T
  • Get some data from the session

    Type parameters

    • T

    Parameters

    • key: string

    Returns T

put

  • put(key: string, obj: any): Session
  • Put some data in a session

    Parameters

    • key: string
    • obj: any

    Returns Session

remove

  • remove<T>(key: string): T
  • Remove some data from the session

    Type parameters

    • T

    Parameters

    • key: string

    Returns T

Static create

  • Create a new empty session.

    Returns Session

Generated using TypeDoc