From 178bb3a1ceab88f29aa7d0ceb453e76de172fd27 Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Sun, 6 Aug 2017 22:23:41 +0200 Subject: Add protools, used for getting content out of packages Only HTTP protocol implemented yet, but with gzip, deflate and bzip2 suport --- src/http_protocol.hh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/http_protocol.hh (limited to 'src/http_protocol.hh') 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 -- cgit v1.2.3-70-g09d2