Skip to main content

get_route_templates_for_request

Function get_route_templates_for_request 

Source
pub fn get_route_templates_for_request(
    protocol: &WebUIProtocol,
    entry_id: &str,
    request_path: &str,
    inventory_hex: &str,
) -> (Vec<(String, String)>, String)
Expand description

Get the f-template HTML strings needed for the active route chain rooted at entry_id for the current request_path.

Returns (templates: Vec<(name, html)>, updated_inventory_hex).