Function gotham::tls::start

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

Starts a Gotham application with the default number of threads.