[][src]Function gotham::tls::start_on_executor

pub fn start_on_executor<NH, A>(
    addr: A,
    new_handler: NH,
    tls_config: ServerConfig,
    executor: TaskExecutor
) where
    NH: NewHandler + 'static,
    A: ToSocketAddrs + 'static, 

Starts a Gotham application with a designated backing TaskExecutor.

This function can be used to spawn the server on an existing Runtime.