SaltAPI
1.1
An API for the HTTPd / Zia by Salty Studio.
|
#include <Compress.hpp>
Public Member Functions | |
Compress (Module::ICore &core) | |
virtual | ~Compress () |
bool | Zip (HTTP::Request *req, HTTP::Response *res, HTTP::ProcessingList *pl) |
bool | UnZip (HTTP::Request *req, HTTP::Response *res, HTTP::ProcessingList *pl) |
Module::IModule * | GetModule (Module::ICore &core) const override |
The function return an instance of the module. More... | |
Public Member Functions inherited from Module::AModule | |
AModule (ICore &core, Type type, std::string const &name) | |
virtual | ~AModule () |
std::string const & | GetName () const override |
Type | GetType () const override |
bool | Load () override |
Method for futur use. More... | |
bool | Unload () override |
Method for futur use. More... | |
Additional Inherited Members | |
Public Types inherited from Module::IModule | |
enum | Type { Core, Logger, ConfigLoader, Network, FileServe, HTTP, Default } |
Protected Attributes inherited from Module::AModule | |
ICore & | m_core |
std::string | m_name |
Type | m_type |
Definition at line 14 of file Compress.hpp.
Compress::Compress | ( | Module::ICore & | core | ) |
|
virtual |
Definition at line 14 of file Compress.cpp.
|
overridevirtual |
The function return an instance of the module.
core |
Reimplemented from Module::AModule.
Definition at line 26 of file Compress.cpp.
bool Compress::UnZip | ( | HTTP::Request * | req, |
HTTP::Response * | res, | ||
HTTP::ProcessingList * | pl | ||
) |
bool Compress::Zip | ( | HTTP::Request * | req, |
HTTP::Response * | res, | ||
HTTP::ProcessingList * | pl | ||
) |