summaryrefslogtreecommitdiff
path: root/src/http_protocol.hh
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@yahoo.com>2017-08-06 22:23:41 +0200
committerJoel Klinghed <the_jk@yahoo.com>2017-08-06 22:25:44 +0200
commit178bb3a1ceab88f29aa7d0ceb453e76de172fd27 (patch)
tree09f830338d5490552ae878152de0f104cb7f6e5b /src/http_protocol.hh
parent9d586aec3a5615377e389318e97e7d756c970c96 (diff)
Add protools, used for getting content out of packages
Only HTTP protocol implemented yet, but with gzip, deflate and bzip2 suport
Diffstat (limited to 'src/http_protocol.hh')
-rw-r--r--src/http_protocol.hh13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/http_protocol.hh b/src/http_protocol.hh
new file mode 100644
index 0000000..f4a2b11
--- /dev/null
+++ b/src/http_protocol.hh
@@ -0,0 +1,13 @@
+// -*- mode: c++; c-basic-offset: 2; -*-
+
+#ifndef HTTP_PROTOCOL_HH
+#define HTTP_PROTOCOL_HH
+
+#include "protocol.hh"
+
+class HttpProtocol : public virtual Protocol {
+public:
+ static HttpProtocol* create();
+};
+
+#endif // HTTP_PROTOCOL_HH