On Saturday, 31 August 2013 at 16:42:11 UTC, gedaiu wrote:
Because I have a personal project based on a custom web server, and I couldn't find one implemented in D(excepting vibe.d)

My cgi.d has one too:

void hello(Cgi cgi) { cgi.write("hello"); }
mixin GenericMain!hello;

dmd test.d cgi.d -version=embedded_httpd

Then run test and it listens on port 8085 by default, and you can change that with a command line argument --port 3000 for example.

Reply via email to