mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-27 00:00:24 +02:00
Some simplifications
This commit is contained in:
@@ -275,6 +275,8 @@ async fn boxing() {
|
||||
|
||||
// TODO(david): tests for adding middleware to single services
|
||||
|
||||
// TODO(david): tests for nesting services
|
||||
|
||||
/// Run a `tower::Service` in the background and get a URI for it.
|
||||
pub async fn run_in_background<S, ResBody>(svc: S) -> SocketAddr
|
||||
where
|
||||
|
||||
Reference in New Issue
Block a user