(&mut self, url: impl AsRef<str>)
| 61 | } |
| 62 | |
| 63 | pub fn connect_websocket(&mut self, url: impl AsRef<str>) -> NetResult<WebSocketConnectionId> { |
| 64 | let connection = WebSocketConnection::connect(url)?; |
| 65 | Ok(WebSocketConnectionId(insert_slot( |
| 66 | &mut self.websocket_connections, |
| 67 | connection, |
| 68 | ))) |
| 69 | } |
| 70 | |
| 71 | pub fn connect_websocket_with_options( |
| 72 | &mut self, |
nothing calls this directly
no test coverage detected