HttpServer.this

Constructs a new server using the supplied handler to handle all incoming requests, as well as a supplied request worker pool.

  1. this(HttpRequestHandler handler, RequestWorkerPool requestWorkerPool, ServerConfig config)
  2. this(HttpRequestHandler handler, ServerConfig config)
  3. this(F handlerFunc, ServerConfig config)

Parameters

handler HttpRequestHandler

The handler to use.

requestWorkerPool RequestWorkerPool

The worker pool to use.

config ServerConfig

The server configuration.