Skip to main content

write_frame

Function write_frame 

Source
pub fn write_frame<W: Write>(
    writer: &mut W,
    body: &[u8],
) -> Result<usize, FramingError>
Expand description

Write one v1 frame body, flush the stream, and return the byte count.