Optional_kernelBridge: IKernelBridgeCloses a WebSocket connection or local kernel proxy by ID.
Extension message containing connection ID.
Cleans up all WebSocket connections and local kernel proxies. Closes all active connections and clears the connection maps.
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.
Extension message containing request details.
Target webview panel for response.
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.
Extension message with WebSocket configuration.
Target webview panel for event notifications.
Sends a message to an existing WebSocket connection or local kernel proxy.
Extension message containing data to send.
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.