Skip to main content

read_stream

Function read_stream 

Source
pub async fn read_stream(stream: &mut TcpStream) -> Result<Vec<u8>, Error>
Expand description

Read all available data from a TCP stream into a Vec<u8>.