Skip to main content

around

Function around 

Source
pub fn around<B, BF, A, AF>(
    name: impl Into<String>,
    before_fn: B,
    after_fn: A,
) -> MwEntry
where B: Fn(Request) -> BF + Send + Sync + 'static, BF: Future<Output = Request> + Send + 'static, A: Fn(Response) -> AF + Send + Sync + 'static, AF: Future<Output = Response> + Send + 'static,
Expand description

before then chain then after under one explain name.