pub fn service<F>(mut self, factory: F) -> Self
    where
        F: WebServiceFactory<Err> + 'static,
    {
        self.services
            .push(Box::new(ServiceFactoryWrapper::new(factory)));
        self
    }
/// Register http service.
///
/// Http service is any type that implements `WebServiceFactory` trait.
///
/// ntex provides several services implementations:
///
/// * *Resource* is an entry in resource table which corresponds to requested URL.
/// * *Scope* is a set of resources with common root path.
/// * "StaticFiles" is a service for static files support
Register http service.
Http service is any type that implements `WebServiceFactory` trait.

ntex provides several services implementations.

*Resource* is an entry in resource table which corresponds to requested URL.
*Scope* is a set of resources with common root path.
"StaticFiles" is a service for static files support
Register http service . Http service is any type that implements ` WebServiceFactory ` trait . ntex provides several services implementations . * Resource * is an entry in resource table which corresponds to requested URL . * Scope * is a set of resources with common root path . " StaticFiles " is a service for static files support
pub fn service<F>(mut self, factory: F) -> Self
    where
        F: WebServiceFactory<Err> + 'static,
    {
        self.services
            .push(Box::new(ServiceFactoryWrapper::new(factory)));
        self
    }
pub fn service < F > ( mut self , factory : F ) -> Self where F : WebServiceFactory < Err > + ' static , { self . services . push ( Box :: new ( ServiceFactoryWrapper :: new ( factory ) ) ) ; self }
Register http service.
Register http service .
mut self
factory
F