pub fn split_request_path(path: &str) -> Vec<&str>Expand description
Split a request path into segments, filtering empty parts.
Intended to be called once before a loop of
match_route_cached_with_segments calls to avoid per-iteration
allocation.
pub fn split_request_path(path: &str) -> Vec<&str>Split a request path into segments, filtering empty parts.
Intended to be called once before a loop of
match_route_cached_with_segments calls to avoid per-iteration
allocation.