pingora_core::modules::httpTrait HttpModuleBuilder
Source pub trait HttpModuleBuilder {
// Required method
fn init(&self) -> Module;
// Provided method
fn order(&self) -> i16 { ... }
}
Expand description
Trait to init the http module ctx for each request
Initialize and return the per request module context
The order the module will run
The lower the value, the later it runs relative to other filters.
If the order of the filter is not important, leave it to the default 0.