Expand description
Defines the GothamService
type which is used to wrap a Gotham application and interface with
Hyper.
Functions§
- Instantiates a
Handler
from the givenNewHandler
, and invokes it with the request. If a panic occurs fromNewHandler::new_handler
orHandler::handle
, it is trapped and will result in a500 Internal Server Error
response.