13 releases (8 breaking)
✓ Uses Rust 2018 edition
|0.10.1||Jan 31, 2020|
|0.9.0||Aug 8, 2019|
|0.8.0||May 17, 2019|
|0.6.0||Aug 22, 2018|
|0.1.0||Mar 17, 2017|
#6 in WebSocket
4,883 downloads per month
Used in 35 crates (25 directly)
Asynchronous WebSockets for Tokio stack.
Add this in your
[dependencies] tokio-tungstenite = "*"
Take a look at the
examples/ directory for client and server examples. You may also want to get familiar with
Tokio if you don't have any experience with it.
This crate is based on
tungstenite-rs Rust WebSocket library and provides
Tokio bindings and wrappers for it, so you
can use it with non-blocking/asynchronous
TcpStreams from and couple it together with other crates from