Function gotham::tls::start_with_num_threads

source ·
pub fn start_with_num_threads<NH, A>(
    addr: A,
    new_handler: NH,
    tls_config: ServerConfig,
    threads: usize
) -> Result<(), StartError>
where NH: NewHandler + 'static, A: ToSocketAddrs + 'static + Send,
Expand description

Starts a Gotham application with a designated number of threads.