SaltAPI
1.1
An API for the HTTPd / Zia by Salty Studio.
Main Page
Namespaces
Classes
Files
Examples
File List
File Members
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
{
14
class
EXPORT
Compress
:
public
Module::AModule
{
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
EXPORT
#define EXPORT
Definition:
DllExport.hpp:11
HTTP::Response
Definition:
Response.hpp:16
AModule.hpp
Module::IModule
Definition:
IModule.hpp:20
IHTTPHandle.hpp
HTTP::ProcessingList
Definition:
ProcessingList.hpp:26
DllExport.hpp
Compress
Definition:
Compress.hpp:14
Module::AModule::GetModule
virtual IModule * GetModule(ICore &core) const override
The function return an instance of the module.
Definition:
AModule.cpp:33
Module::AModule
Definition:
AModule.hpp:13
Module::ICore
Definition:
ICore.hpp:19
HTTP::Request
Definition:
Request.hpp:16
API
example
Compress.hpp
Generated on Tue Jan 10 2017 17:44:53 for SaltAPI by
1.8.6