Type Definition kvarn::extensions::If

source ·
pub type If = Box<dyn Fn(&FatRequest, &Host) -> bool>;
Expand description

Dynamic function to check if a extension should be ran.

Used with Prepare extensions