Skip to main content

read_string_from_stream

Function read_string_from_stream 

Source
pub async fn read_string_from_stream<T>(
    stream: &mut T,
    max_size: usize,
) -> Result<String>
where T: AsyncRead + Unpin,