Skip to main content

DefaultMiddleware

Type Alias DefaultMiddleware 

pub type DefaultMiddleware = (ConsumeErrLayer<Trace, StaticOutput<DefaultErrorResponse>>, ArcLayer);
Available on crate features http and http-full only.
Expand description

Default middleware used by HttpMitmRelay, most likely you’ll want to overwrite it with custom middleware, unless you do not require MITM middleware.