Skip to main content

write_frame

Function write_frame 

Source
pub async fn write_frame<W>(stream: &mut W, payload: &[u8]) -> Result<()>
where W: AsyncWrite + Unpin,
Expand description

Write one length-prefixed frame.