Helper method to produce an HttpRequestHandler from a function.
The function that will handle requests.
The request handler.
Helper method to produce an HttpRequestHandler from a function.