Module gotham::service[][src]

Defines the GothamService type which is used to wrap a Gotham application and interface with Hyper.

Functions

call_handler

Instantiates a Handler from the given NewHandler, and invokes it with the request. If a panic occurs from NewHandler::new_handler or Handler::handle, it is trapped and will result in a 500 Internal Server Error response.