pub async fn serve_router(
router: Router,
config: HttpConfig,
shutdown: impl Future<Output = ()> + Send + 'static,
) -> Result<(), HttpServeError>Expand description
Starts an async HTTP server with graceful shutdown under the network boundary.