pub fn router(
backend: Arc<Service>,
config: &AppConfig,
shutdown: Receiver<bool>,
) -> RouterExpand description
Build only the API routes around an existing shared service. The port must be the actual listener port when validating Host headers.