watch_updates

Function watch_updates 

Source
pub fn watch_updates(url: &str) -> Result<()>
Expand description

Watch for real-time updates via WebSocket

§Examples

use things3_cli::watch_updates;

// Connect to WebSocket server
watch_updates("ws://127.0.0.1:8080")?;

§Errors

Returns an error if the connection fails