Skip to main content

send_message

Function send_message 

Source
pub fn send_message<S: Write + ?Sized>(
    stream: &mut S,
    msg: &ProtocolMessage,
) -> Result<()>
Expand description

Send a protocol message over any writable stream.