Send a text message.
(&self, text: &str)
| 70 | |
| 71 | /// Send a text message. |
| 72 | pub fn send_text(&self, text: &str) { |
| 73 | let mgr = super::NET_MANAGER.lock().unwrap(); |
| 74 | if let Some(entry) = mgr.websockets.get(&self.id) { |
| 75 | entry.state.send_text(text); |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | /// Pop the next incoming message. |
| 80 | /// |
nothing calls this directly
no test coverage detected