pub async fn write_message<W, T>(
writer: &mut W,
msg: &T,
) -> Result<(), FrameError>Expand description
Write a typed message as a length-prefixed JSON frame.
pub async fn write_message<W, T>(
writer: &mut W,
msg: &T,
) -> Result<(), FrameError>Write a typed message as a length-prefixed JSON frame.