(
Path((port, path)): Path<(u16, String)>,
method: Method,
headers: HeaderMap,
uri: Uri,
body: Bytes,
)
| 1258 | } |
| 1259 | |
| 1260 | async fn metro_proxy_asset( |
| 1261 | Path((port, path)): Path<(u16, String)>, |
| 1262 | method: Method, |
| 1263 | headers: HeaderMap, |
| 1264 | uri: Uri, |
| 1265 | body: Bytes, |
| 1266 | ) -> Response { |
| 1267 | metro_proxy_response( |
| 1268 | port, |
| 1269 | &format!("/{path}"), |
| 1270 | uri.query(), |
| 1271 | method, |
| 1272 | headers, |
| 1273 | body, |
| 1274 | ) |
| 1275 | .await |
| 1276 | } |
| 1277 | |
| 1278 | async fn metro_proxy_response( |
| 1279 | port: u16, |
nothing calls this directly
no test coverage detected