pub fn fn_http_service_factory<F, Fut, E, S>(f: F) -> FnHttpServiceFactory<F>where
F: Fn(SocketAddr) -> Fut,
Fut: Future<Output = Result<S, E>> + Send,
E: Error,
S: HttpService,Expand description
Create a FnHttpServiceFactory from a given function.
See FnHttpServiceFactory for details.