HttpServer

Undocumented in source.

Constructors

this
this(Duration timeout)
Undocumented in source.

Members

Functions

close
void close()
Undocumented in source. Be warned that the author may not have intended to support it.
listen
ushort listen(ushort port, string addr)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

connections
SEDListContainer!HttpServerConnection connections;

Single-ended doubly-linked list of active connections

handleClose
void delegate() handleClose;

Callback for when the socket was closed.

handleRequest
void delegate(HttpRequest request, HttpServerConnection conn) handleRequest;

Callback for an incoming request.

log
Logger log;
Undocumented in source.

Meta