Crate mecha10_nodes_websocket_bridge

Crate mecha10_nodes_websocket_bridge 

Source
Expand description

WebSocket Bridge Node

Forwards Redis pub/sub messages to WebSocket clients for dashboard and browser consumption. Supports two modes:

  • Server mode (default): Accepts local WebSocket connections
  • Client mode: Connects to a remote relay service for production deployments

Re-exports§

pub use config::RelayConfig;
pub use config::WebSocketBridgeConfig;
pub use node::WebSocketBridgeNode;

Modules§

config
WebSocket bridge configuration
node
WebSocket Bridge Node
relay_client
Relay client for connecting to remote WebSocket relay service

Functions§

run
Run the WebSocket bridge node