Replies: 4 comments 4 replies
-
|
You can make use of |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Or how can I separate the reader and writer like |
Beta Was this translation helpful? Give feedback.
-
|
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 |
Beta Was this translation helpful? Give feedback.
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.Beta Was this translation helpful? Give feedback.
All reactions