pub async fn write_direct<Writer: AsyncWriteExt + Unpin, Message: Serialize>(
partial_write: &mut BytesMut,
writer: &mut Writer,
message: Message,
) -> Result<(), ProtocolError>Expand description
Same as the write_message function, but it doesn’t append header for frame (code + size).