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
pub async fn read_message<R: AsyncReadExt + Unpin>(
reader: &mut R,
) -> Result<Vec<u8>, ProtocolError>Read a length-prefixed message from a reader