Server

Undocumented in source.

Constructors

this
this(Handler dg)
Undocumented in source.
this
this(void function(Request req, Response resp) fn)
Undocumented in source.

Members

Aliases

Handler
alias Handler = void delegate(Request req, Response resp)
Undocumented in source.

Functions

mainLoop
void mainLoop()
Undocumented in source. Be warned that the author may not have intended to support it.
start
void start(ushort port, uint maxThread)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

handler
Handler handler;
Undocumented in source.
listener
Socket listener;
Undocumented in source.
onError
void delegate(Exception e) onError;
Undocumented in source.
running
bool running;
Undocumented in source.
threads
Thread[] threads;
Undocumented in source.

Meta