Datalayer VS Code Extension - v0.0.17
    Preparing search index...

    Handles network communications between webview and Jupyter servers. Manages WebSocket connections and HTTP request proxying for notebook operations. For local ZMQ kernels, uses LocalKernelProxy instead of real WebSockets.

    Index

    Constructors

    Methods

    • Cleans up all WebSocket connections and local kernel proxies. Closes all active connections and clears the connection maps.

      Returns void

    • Forwards HTTP requests from webview to target server. For local kernels, intercepts and handles REST API calls. Handles method, headers, and body forwarding with response relay.

      Parameters

      • message: ExtensionMessage

        Extension message containing request details.

      • webview: WebviewPanel

        Target webview panel for response.

      Returns void

    • Opens a WebSocket connection for Jupyter kernel communication. For local kernels, creates a LocalKernelProxy instead. Sets up event handlers for open, message, close, and error events.

      Parameters

      • message: ExtensionMessage

        Extension message with WebSocket configuration.

      • webview: WebviewPanel

        Target webview panel for event notifications.

      Returns void