(query: &str)
| 854 | } |
| 855 | |
| 856 | fn metro_frontend_metadata_params(query: &str) -> Vec<(String, String)> { |
| 857 | query |
| 858 | .split('&') |
| 859 | .filter_map(|param| { |
| 860 | let (key, value) = param.split_once('=')?; |
| 861 | matches!(key, "ws" | "wss").then_some(value) |
| 862 | }) |
| 863 | .flat_map(|value| { |
| 864 | let decoded = percent_decode_query_component(value); |
| 865 | split_path_query(&decoded) |
| 866 | .1 |
| 867 | .map(metro_frontend_inspector_params) |
| 868 | .unwrap_or_default() |
| 869 | }) |
| 870 | .collect() |
| 871 | } |
| 872 | |
| 873 | fn metro_frontend_inspector_params(query: &str) -> Vec<(String, String)> { |
| 874 | query |
no test coverage detected