A versatile websocket client that supports many cryptocurrency exchanges.
```rust use cryptowsclient::{BinanceSpotWSClient, WSClient};
fn main() { let mut wsclient = BinanceSpotWSClient::init(|msg| println!("{}", msg), None); let channels = vec!["btcusdt@aggTrade".tostring(), "btcusdt@depth".tostring(),]; wsclient.subscribe(&channels); wsclient.run(None); wsclient.close(); } ```