Skip to main content

read_message

Function read_message 

Source
pub async fn read_message<R: AsyncReadExt + Unpin>(
    reader: &mut R,
) -> Result<Vec<u8>, ProtocolError>
Expand description

Read a length-prefixed message from a reader