actix_web_lab/
extract.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//! Experimental extractors.

/// An alias for [`actix_web::web::Data<T>`] with a more descriptive name.
pub type SharedData<T> = actix_web::web::Data<T>;

pub use crate::{
    body_limit::{BodyLimit, DEFAULT_BODY_LIMIT},
    bytes::{Bytes, DEFAULT_BYTES_LIMIT},
    host::Host,
    json::{Json, DEFAULT_JSON_LIMIT},
    lazy_data::LazyData,
    local_data::LocalData,
    path::Path,
    query::Query,
    request_signature::{RequestSignature, RequestSignatureError, RequestSignatureScheme},
    swap_data::SwapData,
    url_encoded_form::{UrlEncodedForm, DEFAULT_URL_ENCODED_FORM_LIMIT},
    x_forwarded_prefix::ReconstructedPath,
};