Declaration
Func<HttpRequest, HttpResponse> Handler
Summary
Specifies the HTTP request handler for this server.
Remarks
Returning null from this handler is a bug, and will cause a generic 500 Internal Server Error. All exceptions
leaving this handler will be handled by the server, unless
HttpServerOptions.OutputExceptionInformation is configured to do otherwise. All exceptions are passed
to the
HttpServer.ErrorHandler, which may return an arbitrary response as a result. See Remarks on
HttpServer.ErrorHandler for further information.