The session initialization options.

interface IOptions {
    clientId?: string;
    kernelConnectionOptions?: Omit<Kernel.IKernelConnection.IOptions, "serverSettings" | "model" | "username" | "clientId">;
    model: Session.IModel;
    serverSettings?: ServerConnection.ISettings;
    username?: string;
    connectToKernel(options): IKernelConnection;
}

Properties

clientId?: string

The unique identifier for the session client.

kernelConnectionOptions?: Omit<Kernel.IKernelConnection.IOptions, "serverSettings" | "model" | "username" | "clientId">

Kernel connection options

Session model.

serverSettings?: ServerConnection.ISettings

The server settings.

username?: string

The username of the session client.

Methods