Module websocket

Module websocket 

Source

Structsยง

WSIncoming ๐Ÿ”’
Incoming WebSocket message envelope. Supports both ping/pong messages and wscommand-based RPC.

Functionsยง

forward_event ๐Ÿ”’
Forward a queued event-bus value to the WebSocket. Returns true if the send failed (the caller should break the loop).
handle_incoming_text ๐Ÿ”’
Handle an incoming text message. Returns Err(true) if the socket send failed. Returns Ok(Some((rx, agent_id))) if a bus:register was processed.
handle_ws ๐Ÿ”’
handle_ws_connection ๐Ÿ”’
parse_block_input ๐Ÿ”’
Parse a CommandBlockInputData into a BlockInputUnion.
register_handlers ๐Ÿ”’