Skip to main content

run_frontend_websocket

Function run_frontend_websocket 

Source
pub async fn run_frontend_websocket(
    engine: Arc<RpcEngine>,
    bind: &str,
    credentials: Vec<RuntimeHttpCredential>,
) -> Result<FrontendWebSocketServer>
Expand description

Publish the language-neutral facade over authenticated WebSocket RPC. The endpoint accepts only /frontend/v2, reuses the SDK coordinator, and emits canonical events as frontend.v2.event notifications.