Skip to main content

read_frame

Function read_frame 

Source
pub async fn read_frame<T>(
    reader: &mut FrameReader<impl AsyncRead + Unpin>,
) -> Result<Option<T>>
Expand description

Reads one length-prefixed JSON value, returning None only for a clean EOF.