pub fn start<NH, A>(addr: A, new_handler: NH) -> Result<(), StartError> where
NH: NewHandler + 'static,
A: ToSocketAddrs + 'static + Send,
Expand description
Starts a Gotham application on plain, unsecured HTTP.
pub fn start<NH, A>(addr: A, new_handler: NH) -> Result<(), StartError> where
NH: NewHandler + 'static,
A: ToSocketAddrs + 'static + Send,
Starts a Gotham application on plain, unsecured HTTP.