pub fn init_server<NH, A>(
) -> impl Future<Item = (), Error = ()> where
NH: NewHandler + 'static,
A: ToSocketAddrs + 'static,
Future used to spawn an Gotham application.
This is used internally, but exposed in case the developer intends on doing any manual wiring that isn't supported by the Gotham API. It's unlikely that this will be required in most use cases; it's mainly exposed for shutdown handling.