SaltAPI
1.1
An API for the HTTPd / Zia by Salty Studio.
|
#include <AddEvent.hpp>
Public Member Functions | |
AddEvent (Module::ICore &core) | |
virtual | ~AddEvent () |
bool | Handle (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 AddEvent.hpp.
AddEvent::AddEvent | ( | Module::ICore & | core | ) |
|
virtual |
Definition at line 17 of file AddEvent.cpp.
|
overridevirtual |
The function return an instance of the module.
core |
Reimplemented from Module::AModule.
Definition at line 34 of file AddEvent.cpp.
|
virtual |
req | the request from the previous module |
res | the response from the previous module |
pl | the processsingList from the previous module |
Implements Module::IHTTPHandle.
Definition at line 21 of file AddEvent.cpp.