MCPcopy Index your code
hub / github.com/NativeScript/SimDeck / attach_websocket

Function attach_websocket

packages/server/src/webkit.rs:429–433  ·  view source on GitHub ↗
(udid: String, target_id: String, socket: WebSocket)

Source from the content-addressed store, hash-verified

427}
428
429pub async fn attach_websocket(udid: String, target_id: String, socket: WebSocket) {
430 if let Err(error) = attach_websocket_inner(&udid, &target_id, socket).await {
431 warn!("WebKit inspector socket failed for {udid}/{target_id}: {error}");
432 }
433}
434
435async fn attach_websocket_inner(
436 udid: &str,

Callers

nothing calls this directly

Calls 1

attach_websocket_innerFunction · 0.85

Tested by

no test coverage detected