(
udid: &str,
_http_origin: Option<&str>,
)
| 52 | } |
| 53 | |
| 54 | pub async fn discover_targets( |
| 55 | udid: &str, |
| 56 | _http_origin: Option<&str>, |
| 57 | ) -> Result<WebKitTargetDiscovery, AppError> { |
| 58 | Ok(WebKitTargetDiscovery { |
| 59 | udid: udid.to_owned(), |
| 60 | socket_path: None, |
| 61 | targets: Vec::new(), |
| 62 | warnings: vec![ |
| 63 | "WebKit inspection is only available for iOS simulators on macOS.".to_owned(), |
| 64 | ], |
| 65 | }) |
| 66 | } |
| 67 | |
| 68 | pub async fn attach_websocket(_udid: String, _target_id: String, _socket: WebSocket) {} |
| 69 |