Skip to main content

collect_route_chain

Function collect_route_chain 

Source
pub fn collect_route_chain(
    protocol: &WebUIProtocol,
    entry_id: &str,
    request_path: &str,
) -> Vec<RouteChainEntry>
Expand description

Collect the matched route chain for a request path.

Walks the fragment graph from entry_id, follows the matched route at each nesting level, and returns a chain entry per matched level.