Function actix_service::unit_config
source · pub fn unit_config<I, SF, Cfg, Req>(factory: I) -> UnitConfig<SF, Cfg, Req>where
I: IntoServiceFactory<SF, Req>,
SF: ServiceFactory<Req, Config = ()>,
Expand description
Replace config with unit.