Skip to main content

Module ws

Module ws 

Source
Expand description

WebSocket server for browser-based UI development

This module provides a WebSocket server that exposes the same IPC protocol used by the native WKWebView transport, enabling real-time communication between a browser-based UI and the Rust engine during development.

Structs§

WsHandle
A lightweight, cloneable handle to the WebSocket server’s broadcast capability. Non-generic — can be passed across async task boundaries.
WsServer
WebSocket server for browser-based UI development