Closed xudesheng closed 4 years ago
Hi @xudesheng, this library itself doesn't depend on any underlying protocol. As long as you can create something which implements tokio::io::AsyncRead
and tokio::io::AsyncWrite
and pass it to the client it should work out of the box.
I'm not familiar with MQTT over websocket but I did a quick search and it looks this library: https://docs.rs/tokio-tungstenite/ can create a websocket stream and maybe can be used.
Hi @xudesheng, this library itself doesn't depend on any underlying protocol. As long as you can create something which implements
tokio::io::AsyncRead
andtokio::io::AsyncWrite
and pass it to the client it should work out of the box.I'm not familiar with MQTT over websocket but I did a quick search and it looks this library: https://docs.rs/tokio-tungstenite/ can create a websocket stream and maybe can be used.
Thank you! this lib looks great. I will try to work on it when I have bandwidth.
Hi, @Syndim 👍 so far, this lib works great. really appreciate.