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

Function is_allowed_inspector_proxy_method

packages/server/src/api/routes.rs:3793–3806  ·  view source on GitHub ↗
(method: &str)

Source from the content-addressed store, hash-verified

3791}
3792
3793fn is_allowed_inspector_proxy_method(method: &str) -> bool {
3794 matches!(
3795 method,
3796 "Inspector.getInfo"
3797 | "Runtime.ping"
3798 | "View.get"
3799 | "View.evaluateScript"
3800 | "View.getHierarchy"
3801 | "View.getProperties"
3802 | "View.setProperty"
3803 | "View.listActions"
3804 | "View.perform"
3805 )
3806}
3807
3808fn inspector_request_timeout(method: &str) -> Duration {
3809 if method == "View.getHierarchy" {

Callers 2

inspector_direct_requestFunction · 0.85
inspector_requestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected