pub type ValidateFn = Arc<dyn for<'h> Fn(&str, &Authority, Box<dyn Iterator<Item = (&'h str, &'h str)> + Send + Sync + 'h>, Option<&[u8]>) -> AclClassification + Send + Sync>;Expand description
A function that validates an HTTP request against an ACL.
Aliased Typeยง
pub struct ValidateFn { /* private fields */ }