Skip to main content

apply_to_multimap

Function apply_to_multimap 

Source
fn apply_to_multimap(
    map: &mut HashMap<String, Vec<String>>,
    name: &str,
    action: &Action,
) -> bool
Expand description

Applies a rule to a multi-valued map (query params or headers). Regex actions run against every value of the field; replace collapses the field to the single configured value.