1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-12-18 06:06:36 +00:00

fix doc references

This commit is contained in:
Rob Ede 2021-07-14 00:27:33 +01:00
parent cf63f5c755
commit 9e685fc5fb
No known key found for this signature in database
GPG key ID: 97C636207D3EF933
2 changed files with 6 additions and 3 deletions

View file

@ -18,7 +18,9 @@ pub use actix_http::body::{AnyBody, Body, BodySize, MessageBody, ResponseBody, S
#[cfg(feature = "__compress")]
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_server::Server;
pub use actix_service::{

View file

@ -106,8 +106,9 @@ where
}
/// 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
/// [Extensions] container so that request-local data can be passed to middleware and handlers.
/// It will receive a `&std::any::Any`, which contains underlying connection type and a
/// [CloneableExtensions] container so that request-local data can be passed to middleware
/// and handlers.
///
/// # Connection Types
/// - `actix_web::rt::net::TcpStream` when no TLS layer is used.