Skip to main content

send

Function send 

Source
pub async fn send<S>(sink: &mut S, msg: Message) -> Result<()>
where S: Sink<Message, Error = Error> + Unpin,
Expand description

Send one protocol message on sink (a Relay, or its sending half).