SaltAPI  1.1
An API for the HTTPd / Zia by Salty Studio.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Compress.hpp
Go to the documentation of this file.
1 //
2 // Created by wery_a on 09/01/17.
3 //
4 
5 #ifndef API_V2_COMPRESS_HPP
6 #define API_V2_COMPRESS_HPP
7 
8 #include "Module/IHTTPHandle.hpp"
9 #include "Module/AModule.hpp"
10 #include "DllExport.hpp"
11 
12 extern "C"
13 {
15 public :
16  Compress(Module::ICore &core);
17 
18  virtual ~Compress();
19 
20 public :
21  bool Zip(HTTP::Request *req, HTTP::Response *res, HTTP::ProcessingList *pl);
22  bool UnZip(HTTP::Request *req, HTTP::Response *res, HTTP::ProcessingList *pl);
23 
24 public :
25  Module::IModule *GetModule(Module::ICore &core) const override;
26 };
27 }
28 
29 #endif //API_V2_COMPRESS_HPP
#define EXPORT
Definition: DllExport.hpp:11
virtual IModule * GetModule(ICore &core) const override
The function return an instance of the module.
Definition: AModule.cpp:33