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