ws-rs
ws-rs copied to clipboard
Lightweight, event-driven WebSockets for Rust.
with this method user can send unicast and multicast message to specific users
I ran this command: ``` RUST_LOG=trace cargo run --features ssl --example cli -- 'wss://ws.bx.in.th/order_book?pairing=1&start_data=30' ``` It didn't work. I got this messages: ``` DEBUG 2019-02-20T16:27:06Z: ws::handshake: Built request from URL:...
Sorry this is so long, I don't know what's going wrong so I can't narrow it down... I have a simple server and client based on the examples [ssl-server](https://github.com/housleyjk/ws-rs/blob/master/examples/ssl-server.rs) and...
Do you plan to provide async/await-based API? P.S. The first step would probably be merging Rust 2018 edition support (#287)
Hello, I am trying to schedule a reconnect to a websocket server after the connection would be closed abnormally. I figured when receiving handler.on_close() or factor.connection_lost(), I could call sender.connect()...
I've been using `ws-rs` in an application which passes images from an embedded device to a webpage, as a simple video streaming solution. On very rare occasions, the system suffers...
I'm trying to split the `Handler` trait implementation into multiple files, so I wrote the below: `on_open.rs`: ```rust impl Handler for Client { fn on_open(&mut self, _: Handshake) -> Result...
Though obviously not a requirement, the [Rust book says](https://doc.rust-lang.org/stable/book/ch14-02-publishing-to-crates-io.html) > Many people in the Rust community license their projects in the same way as Rust by using a dual license...
conections -> connections
OS: Windows 10 Rust VR: > active toolchain > ---------------- > nightly-x86_64-pc-windows-msvc (default) > rustc 1.34.0-nightly (f66e4697a 2019-02-20) Steps: 1: clone repo. 2: run following commands > cargo run --example...