Skip to main content

spawn_ui_bridge_remote

Function spawn_ui_bridge_remote 

Source
pub async fn spawn_ui_bridge_remote(
    target: RemoteRedwireTarget,
    config: UiBridgeConfig,
) -> Result<UiBridge>
Expand description

Like spawn_ui_bridge but fronting a remote RedWire endpoint (red:// / reds://, issue #1044) rather than the embedded engine. The served UI still talks only to the loopback WS endpoint; each WS session opens a fresh TCP/TLS connection to target, and the byte stream is pumped through transparently.