Closed mokeyish closed 6 months ago
Hello, thanks for your nice library!
Currently, app.into_make_service_with_connect_info::<SocketAddr>() is not support.
app.into_make_service_with_connect_info::<SocketAddr>()
use axum::{ routing::get, Router, }; let app = Router::new().route("/", get(|| async { "Hi!" })); axum::Server::bind(&"0.0.0.0:3000".parse().unwrap()) .serve(app.into_make_service()) .await .expect("server failed");
https://docs.rs/axum/latest/src/axum/routing/mod.rs.html#384-388
Can you provide a reproducible example of it not working?
Currently you can get connection info as shown in this example.
thanks, that worked.
Hello, thanks for your nice library!
Currently,
app.into_make_service_with_connect_info::<SocketAddr>()
is not support.https://docs.rs/axum/latest/src/axum/routing/mod.rs.html#384-388