HttpServer.this

Constructs a new server using the supplied handler function to handle all incoming requests.

Parameters

handlerFunc HttpRequestHandlerFunction

The function to use to handle requests.

config ServerConfig

The server configuration.