Skip to main content

write_frame

Function write_frame 

Source
pub fn write_frame<W>(w: &mut W, msg: &impl Serialize) -> Result<(), Error>
where W: Write,
Expand description

Write a length-prefixed JSON frame.