rikitiki
v0.1.67
Build C++ web server modules that allow easy routing and deployment.
|
The main interface file between modules and a given server Server is the rikitiki component that stores handlers and interfaces with the choosen server module to fire them off. It also is the object that provides information about the current server – IP, Port, etc. More...
#include <server.h>
Public Types | |
typedef bool(* | handle_t )(ConnContext &ctx) |
Public Member Functions | |
void | AddPreprocessor (rikitiki::ctemplates::TemplatePreprocessor *) |
bool | Handle (ConnContext &ctx) |
void | AddHandler (Handler &handler) |
void | AddHandler (Handler *handler) |
void | AddHandler (handle_t handler) |
template<typename T > | |
void | Register (T &t) |
Public Attributes | |
std::vector< Handler * > | handlers |
std::vector < ctemplates::TemplatePreprocessor * > | templatePreprocessors |
The main interface file between modules and a given server Server is the rikitiki component that stores handlers and interfaces with the choosen server module to fire them off. It also is the object that provides information about the current server – IP, Port, etc.