Skip to main content

send

Function send 

Source
pub async fn send(device_id: &str, msg: RhpServerMsg) -> bool
Expand description

Push one control message to a connected device. Returns true if it was queued (the device is connected and its channel is not full/closed). A closed channel is pruned so it isn’t retried.