HEX
Server: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.4.25
System: Windows NT DESKTOP-4TAV2RJ 10.0 build 19045 (Windows 10) AMD64
User: fred (0)
PHP: 8.4.25
Disabled: NONE
Upload Files
File: C:/Users/fred/anaconda3/Lib/site-packages/bokeh/server/static/js/lib/client/session.d.ts
import type { Patch, Document, DocumentEvent } from "../document";
import { Message } from "../protocol/message";
import type { ClientConnection } from "./connection";
export type OkMsg = Message<{}>;
export type ErrorMsg = Message<{
    text: string;
    traceback: string | null;
}>;
export type PatchMsg = Message<Patch>;
export declare class ClientSession {
    protected readonly _connection: ClientConnection;
    readonly document: Document;
    protected _document_listener: (event: DocumentEvent) => void;
    constructor(_connection: ClientConnection, document: Document);
    get id(): string;
    handle(message: Message<unknown>): void;
    notify_connection_lost(): void;
    close(): void;
    _connection_closed(): void;
    request_server_info(): Promise<{
        version_info: string;
    }>;
    force_roundtrip(): Promise<void>;
    protected _document_changed(event: DocumentEvent): void;
    protected _handle_patch(message: PatchMsg): void;
    protected _handle_ok(message: OkMsg): void;
    protected _handle_error(message: ErrorMsg): void;
}
//# sourceMappingURL=session.d.ts.map