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

Function metro_proxy_root

packages/server/src/api/routes.rs:1250–1258  ·  view source on GitHub ↗
(
    Path(port): Path<u16>,
    method: Method,
    headers: HeaderMap,
    uri: Uri,
    body: Bytes,
)

Source from the content-addressed store, hash-verified

1248}
1249
1250async fn metro_proxy_root(
1251 Path(port): Path<u16>,
1252 method: Method,
1253 headers: HeaderMap,
1254 uri: Uri,
1255 body: Bytes,
1256) -> Response {
1257 metro_proxy_response(port, "/", uri.query(), method, headers, body).await
1258}
1259
1260async fn metro_proxy_asset(
1261 Path((port, path)): Path<(u16, String)>,

Callers

nothing calls this directly

Calls 2

metro_proxy_responseFunction · 0.85
queryMethod · 0.80

Tested by

no test coverage detected