On Sat, 13 Jun 2015 18:00:42 GMT, Suliman wrote:
I do not how it's work, but probably it can be used as temporal solution.
void root(HTTPServerRequest req, HTTPServerResponse res) { serveStaticFile("public/123.html")(req,res); }
serveStaticFile
(and serveStaticFiles
) returns a delegate, so you're doing dual work here.