actix-web-lab 0.26.0

In-progress extractors and middleware for Actix Web
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Experimental middleware.
//!
//! Analogous to the `middleware` module in Actix Web.

pub use crate::{
    catch_panic::CatchPanic,
    condition_option::ConditionOption,
    err_handler::ErrorHandlers,
    load_shed::LoadShed,
    middleware_map_response::{MapResMiddleware, map_response},
    middleware_map_response_body::{MapResBodyMiddleware, map_response_body},
    normalize_path::NormalizePath,
    panic_reporter::PanicReporter,
    redirect_host::HostAllowlist,
    redirect_to_https::RedirectHttps,
    redirect_to_non_www::RedirectToNonWww,
    redirect_to_www::RedirectToWww,
};