http: make HTTPModule a function

This commit is contained in:
Jeremy Baxter 2024-08-07 14:18:52 +12:00
parent 37a7b67164
commit eb7389f152

2
http.d
View file

@ -39,4 +39,4 @@ class HTTPException : Exception
mixin basicExceptionCtors;
}
alias HTTPModule = HTTPResponse delegate (HTTPRequest);
alias HTTPModule = HTTPResponse function (HTTPRequest);