Trait http_srv::request::handler::Interceptor
source · pub trait Interceptor: Fn(&mut HttpRequest) + Send + Sync + 'static { }Expand description
Interceptor trait
Represents a function that “intercepts” a request. It can change it’s state or log it’s output.