Skip to main content

route_matches_pattern

Function route_matches_pattern 

Source
pub fn route_matches_pattern(route_path: &str, request_path: &str) -> bool
Expand description

Check if a route path matches a pattern (for routing purposes)