Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace SessionAPI

Index

Variables

Const SESSION_SERVICE_URL

SESSION_SERVICE_URL: "api/sessions" = "api/sessions"

The url for the session service.

Functions

getSessionModel

  • Get a full session model from the server by session id string.

    Parameters

    Returns Promise<IModel>

getSessionUrl

  • getSessionUrl(baseUrl: string, id: string): string
  • Get a session url.

    Parameters

    • baseUrl: string
    • id: string

    Returns string

listRunning

  • List the running sessions.

    Parameters

    Returns Promise<IModel[]>

shutdownSession

  • shutdownSession(id: string, settings?: ISettings): Promise<void>
  • Shut down a session by id.

    Parameters

    Returns Promise<void>

startSession

  • Create a new session, or return an existing session if the session path already exists.

    Parameters

    Returns Promise<IModel>

updateSession

  • Send a PATCH to the server, updating the session path or the kernel.

    Parameters

    Returns Promise<IModel>

Generated using TypeDoc