summaryrefslogtreecommitdiff
path: root/methods/http.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-12-09 15:13:09 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2016-12-31 02:29:21 +0100
commitd8617331afc39281d5925033975b6097128786f4 (patch)
treef8d383bf47e172204531d295d717a5d09f3a3ee2 /methods/http.h
parent13a9f08de18dea0dfc1951992b0ddeda9c2fa2dd (diff)
rename ServerMethod to BaseHttpMethod
This 'method' is the abstract base for http and https and should as such be called out like this rather using an easily confused name. Gbp-Dch: Ignore
Diffstat (limited to 'methods/http.h')
-rw-r--r--methods/http.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/methods/http.h b/methods/http.h
index 4b0e77524..c79a6454e 100644
--- a/methods/http.h
+++ b/methods/http.h
@@ -17,7 +17,7 @@
#include <sys/time.h>
#include <iostream>
-#include "server.h"
+#include "basehttp.h"
using std::cout;
using std::endl;
@@ -121,7 +121,7 @@ struct HttpServerState: public ServerState
virtual ~HttpServerState() {Close();};
};
-class HttpMethod : public ServerMethod
+class HttpMethod : public BaseHttpMethod
{
public:
virtual void SendReq(FetchItem *Itm) APT_OVERRIDE;