mirror of
https://github.com/actix/actix-web.git
synced 2024-12-18 14:16:47 +00:00
fix doc references
This commit is contained in:
parent
cf63f5c755
commit
9e685fc5fb
2 changed files with 6 additions and 3 deletions
|
@ -18,7 +18,9 @@ pub use actix_http::body::{AnyBody, Body, BodySize, MessageBody, ResponseBody, S
|
||||||
|
|
||||||
#[cfg(feature = "__compress")]
|
#[cfg(feature = "__compress")]
|
||||||
pub use actix_http::encoding::Decoder as Decompress;
|
pub use actix_http::encoding::Decoder as Decompress;
|
||||||
pub use actix_http::{Extensions, Payload, PayloadStream, RequestHead, ResponseHead};
|
pub use actix_http::{
|
||||||
|
CloneableExtensions, Extensions, Payload, PayloadStream, RequestHead, ResponseHead,
|
||||||
|
};
|
||||||
pub use actix_router::{Path, ResourceDef, ResourcePath, Url};
|
pub use actix_router::{Path, ResourceDef, ResourcePath, Url};
|
||||||
pub use actix_server::Server;
|
pub use actix_server::Server;
|
||||||
pub use actix_service::{
|
pub use actix_service::{
|
||||||
|
|
|
@ -106,8 +106,9 @@ where
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Sets function that will be called once before each connection is handled.
|
/// Sets function that will be called once before each connection is handled.
|
||||||
/// It will receive a `&std::any::Any`, which contains underlying connection type and an
|
/// It will receive a `&std::any::Any`, which contains underlying connection type and a
|
||||||
/// [Extensions] container so that request-local data can be passed to middleware and handlers.
|
/// [CloneableExtensions] container so that request-local data can be passed to middleware
|
||||||
|
/// and handlers.
|
||||||
///
|
///
|
||||||
/// # Connection Types
|
/// # Connection Types
|
||||||
/// - `actix_web::rt::net::TcpStream` when no TLS layer is used.
|
/// - `actix_web::rt::net::TcpStream` when no TLS layer is used.
|
||||||
|
|
Loading…
Reference in a new issue