kvarn::extensions

Type Alias 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

Aliased Typeยง

struct If(/* private fields */);