Check if a server is connected
(&self, name: &str)
| 390 | |
| 391 | /// Check if a server is connected |
| 392 | pub async fn is_connected(&self, name: &str) -> bool { |
| 393 | let clients = self.clients.read().await; |
| 394 | clients.get(name).map(|c| c.is_connected()).unwrap_or(false) |
| 395 | } |
| 396 | |
| 397 | /// List connected server names |
| 398 | pub async fn list_connected(&self) -> Vec<String> { |