Skip to main content

Crate vox_websocket

Crate vox_websocket 

Source
Expand description

WebSocket transport for vox.

Implements Link over a WebSocket connection. Each vox message maps 1:1 to a WebSocket binary frame.

  • Native: uses tokio-tungstenite
  • WASM: uses web_sys::WebSocket

Structs§

WsLink
A Link over a WebSocket connection.
WsLinkRx
Receiving half of a WsLink.
WsLinkRxError
Error type for WsLinkRx.
WsLinkTx
Sending half of a WsLink.
WsLinkTxPermit
Permit for sending one payload through a WsLinkTx.
WsWriteSlot
Write slot for WsLinkTx.