Skip to main content

read_frame

Function read_frame 

Source
pub async fn read_frame(stream: &mut UnixStream) -> Result<Vec<u8>>
Expand description

Read one length-prefixed frame (4-byte BE u32 length + JSON bytes).