simpleHandler

Helper method to produce an HttpRequestHandler from a function.

simpleHandler
(
void function fn
)

Parameters

fn void function

The function that will handle requests.

Return Value

The request handler.

Meta