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
) where
NH: NewHandler + 'static,
A: ToSocketAddrs + 'static,
Expand description
Starts a Gotham application with a designated number of threads.