chaos_middleware

Function chaos_middleware 

Source
pub async fn chaos_middleware(
    __arg0: State<Arc<ChaosMiddleware>>,
    req: Request<Body>,
    next: Next,
) -> Response
Expand description

Chaos middleware handler (uses State extractor, for use with from_fn_with_state)