pub fn match_route<'a>(
routes: &'a [CompiledRoute],
path: &str,
method: &str,
) -> Option<&'a CompiledRoute>Expand description
Longest path_prefix match, then narrow by methods (empty = any).
pub fn match_route<'a>(
routes: &'a [CompiledRoute],
path: &str,
method: &str,
) -> Option<&'a CompiledRoute>Longest path_prefix match, then narrow by methods (empty = any).