24 pl->
pushAfter(std::bind(&
Compress::UnZip, compressModule, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3),
26 pl->
pushBefore(std::bind(&
Compress::Zip, compressModule, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3), pl->
end());
EventFunctionList::iterator begin()
bool pushBefore(EventFunction eventFunction, EventFunctionList::const_iterator ref)
push eventFunction before iterator
void SetStatusCode(unsigned int code)
set code
virtual IModule * Get(std::string const &name) const =0
Get the module by name from the list in ModuleLoader.
Module::IModule * GetModule(Module::ICore &core) const override
The function return an instance of the module.
bool UnZip(HTTP::Request *req, HTTP::Response *res, HTTP::ProcessingList *pl)
EventFunctionList::iterator end()
bool Zip(HTTP::Request *req, HTTP::Response *res, HTTP::ProcessingList *pl)
bool pushAfter(EventFunction eventFunction, EventFunctionList::const_iterator ref)
push eventFunction after iterator
AddEvent(Module::ICore &core)
bool Handle(HTTP::Request *req, HTTP::Response *res, HTTP::ProcessingList *pl)
void SetBody(std::string const &body)
set body