Function wrap_as_http_service

Source
pub fn wrap_as_http_service<T>(
    ipp_service: Arc<T>,
) -> impl Service<Request<Incoming>, Response = Response<Body>, Error = Error, Future = impl Future<Output = Result<Response<Body>, Error>> + 'static> + Clone
where T: IppService + 'static,
Expand description

Wrap an IPP service as a HTTP service