OSDN Git Service

EPG予約、キーワード予約の不具合修正
[iptd/iPTd.git] / src / net / HTTPDaemon.h
index 7794a88..2724fb0 100644 (file)
@@ -21,7 +21,8 @@ namespace NET
 class HTTPDaemonDelegate\r
 {\r
 public:\r
-    virtual HTTPResponse *request(HTTPRequest *request, struct sockaddr_in *client) = 0;\r
+    virtual HTTPRequest *readRequest(SOCKET sock) = 0;\r
+    virtual HTTPResponse *request(HTTPRequest *request, SOCKET sock, struct sockaddr_in *client) = 0;\r
 \r
 };\r
 \r
@@ -58,6 +59,7 @@ public:
 \r
     HTTPResponse *responseWithReason(Raym::String *reason, int status, Raym::String *version);\r
     HTTPResponse *responseWithPath(Raym::String *path, HTTPRequest *request);\r
+    static HTTPResponse *responseOfUnnecessary();\r
     static Raym::String *reasonForStatus(int status);\r
 \r
     // for internal use\r