Module axum::extract::connect_info
source · Available on crate feature
tokio
only.Expand description
Extractor for getting connection information from a client.
See Router::into_make_service_with_connect_info
for more details.
Structs
- Extractor for getting connection information produced by a
Connected
. - A
MakeService
created from a router. - Middleware used to mock
ConnectInfo
during tests. - Response future for
IntoMakeServiceWithConnectInfo
.
Traits
- Trait that connected IO resources implement and use to produce information about the connection.