MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / discover_targets

Function discover_targets

packages/server/src/main.rs:54–66  ·  view source on GitHub ↗
(
        udid: &str,
        _http_origin: Option<&str>,
    )

Source from the content-addressed store, hash-verified

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

Callers 1

webkit_targetsFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected