Skip to main content

read_frame

Function read_frame 

Source
pub async fn read_frame<R>(reader: &mut R) -> Result<Option<Vec<u8>>>
where R: AsyncBufRead + Unpin,
Expand description

Read one bounded JSON-RPC line. A final unterminated line is accepted at EOF.