HttpServer.this

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

Parameters

handlerFunc F

The function to use to handle requests.

config ServerConfig

The server configuration.