Skip to main content

write_raw

Function write_raw 

Source
pub async fn write_raw<S: AsyncStream + Unpin>(
    stream: &mut S,
    bytes: &[u8],
) -> Result<(), RpcError>
Expand description

Writes already-framed bytes (as produced by serialize::write_message_to_words) to the stream.