http: rename HttpdException to HTTPException

This commit is contained in:
Jeremy Baxter 2024-08-07 13:39:22 +12:00
parent caacad97dd
commit 37a7b67164
2 changed files with 10 additions and 9 deletions

7
http.d
View file

@ -1,5 +1,7 @@
module http;
import std.exception;
enum HTTPMethod
{
GET,
@ -32,4 +34,9 @@ struct HTTPResponse
string httpVersion = "HTTP/1.1";
}
class HTTPException : Exception
{
mixin basicExceptionCtors;
}
alias HTTPModule = HTTPResponse delegate (HTTPRequest);