actix_service

Function apply

source
pub fn apply<T, S, I, Req>(t: T, factory: I) -> ApplyTransform<T, S, Req>
where I: IntoServiceFactory<S, Req>, S: ServiceFactory<Req>, T: Transform<S::Service, Req, InitError = S::InitError>,
Expand description

Apply a Transform to a Service.