Skip to main content

service

pub fn service<T>(
    service: T,
) -> impl Service<Request<Body>, Response = Response<Body>, Error = Infallible, Future: Send + 'static> + NamedService + Clone + Send + Sync + 'static
where T: ProxyStatusApiService + Send + Sync + 'static,