TaskPoolHttp1Transport

An implementation of Http1Transport which uses D's standard library parallelization, where each incoming client request is turned into a task and submitted to the standard task pool.

Constructors

this
this(HttpRequestHandler requestHandler, Http1TransportConfig config)

Creates a new transport instance using a std.parallelism TaskPool for handling requests.

Members

Functions

runServer
void runServer()
Undocumented in source. Be warned that the author may not have intended to support it.
stop
void stop()
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Http1Transport

requestHandler
HttpRequestHandler requestHandler;
Undocumented in source.
port
ushort port;
Undocumented in source.
isRunning
bool isRunning()
Undocumented in source. Be warned that the author may not have intended to support it.
start
void start()
Undocumented in source. Be warned that the author may not have intended to support it.
runServer
void runServer()
Undocumented in source.
stop
void stop()
Undocumented in source. Be warned that the author may not have intended to support it.