Replies: 4 comments 4 replies
|
4 replies
|
Or how can I separate the reader and writer like |
0 replies
|
I ran into this and couldn't get Instead you need to use the use tokio::net::TcpStream;
use hyper_util::TokioIo;
use hyper_util::server::conn::auto::upgrade::downcast;
let tokio_io_stream: TokioIo<TcpStream> = downcast(upgraded).unwrap().io;
let tcp_stream: TcpStream = tokio_io_stream.into_inner();This issue is mentioned here |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Want to use the raw
TcpStream.All reactions