Skip to main content

register

Function register 

Source
pub async fn register(device_id: &str, tx: Sender<SessionOutput>)
Expand description

Register a connected device’s outbound sender. Replaces any prior entry (a reconnect supersedes the stale socket).