You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that hyper uses tokio's AsyncRead / Write trait not the futures-0.3 one which makes it hard to mix with other libraries - would it be possible to implement both of the traits for hyper?
For context: I'm trying to upgrade a http connection to a websocket connection using async-tungstenite
The text was updated successfully, but these errors were encountered:
I don't think this will happen happen for a bit. For additional details, see: tokio-rs/tokio#1744.
If I recall correctly, there is a crate that provides compatibility between Tokio's AsyncRead/Write and Futures' AsyncRead/Write, but I can't seem to find it right now.
No worries I gave up and put the web server on its own port, in fortunate that I can do that right now. There are more issues like different runtimes that make it impossible even when working around this. I’ll just go back to my cave for a few month and hope the Async ecosystem has stabilized in n something
It seems that hyper uses tokio's AsyncRead / Write trait not the futures-0.3 one which makes it hard to mix with other libraries - would it be possible to implement both of the traits for hyper?
For context: I'm trying to upgrade a http connection to a websocket connection using async-tungstenite
The text was updated successfully, but these errors were encountered: