I need websocket client crate to connect to server.
I want:
- async/
std::future
support - based on modern tokio
- usage of SSL via the same library as reqwest (native-tls)
is any such library around?
I need websocket client crate to connect to server.
I want:
std::future
supportis any such library around?
I obviosly did some reaseach before asking. For example the first three in search list:
so no one really perfactly fit to my question,
and I would be intersting in real user experience of somebody who use some of this crates
in parallel with tokio/hyper.
I'd recommend https://crates.io/crates/tokio-tungstenite. While I don't have experience using it with Hyper, we're using it with an intensive application that's built using Tokio and it's fit perfectly. There are examples of using it in their repository https://github.com/snapview/tokio-tungstenite/tree/master/examples.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.