Function gotham::tls::start_with_num_threads[][src]

pub fn start_with_num_threads<NH, A>(
    addr: A,
    new_handler: NH,
    tls_config: ServerConfig,
    threads: usize
) where
    NH: NewHandler + 'static,
    A: ToSocketAddrs + 'static + Send

Starts a Gotham application with a designated number of threads.