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

Function chrome_inspector_frontend_url

packages/server/src/devtools.rs:748–756  ·  view source on GitHub ↗
(web_socket_debugger_url: &str)

Source from the content-addressed store, hash-verified

746}
747
748fn chrome_inspector_frontend_url(web_socket_debugger_url: &str) -> String {
749 let socket_param = web_socket_debugger_url
750 .trim_start_matches("ws://")
751 .trim_start_matches("wss://");
752 format!(
753 "/chrome-devtools-ui/inspector.html?ws={}",
754 percent_encode_query_component(socket_param)
755 )
756}
757
758fn proxied_target_port(target_id: &str) -> Result<u16, String> {
759 let rest = target_id

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected