![]() |
RTBKit
0.9
Open-source framework to create real-time ad bidding systems.
|
Public Member Functions | |
RouterRestApiConnection (const std::string &name, Router *router) | |
virtual void | doGet (const std::string &resource) |
virtual void | doPost (const std::string &resource, const std::string &payload) |
Public Attributes | |
Router * | router |
Definition at line 23 of file router_rest_api.h.
void RTBKIT::RouterRestApiConnection::doGet | ( | const std::string & | resource | ) | [virtual] |
Handle a GET message on the given resource.
Should call either sendResponse() or sendErrorResponse().
Reimplemented from Datacratic::HttpMonitorHandler< RouterRestApiConnection, Router * >.
Definition at line 33 of file router_rest_api.cc.
void RTBKIT::RouterRestApiConnection::doPost | ( | const std::string & | resource, |
const std::string & | payload | ||
) | [virtual] |
Handle a POST message on the given resource and payload.
Should call either sendResponse() or sendErrorResponse().
Reimplemented from Datacratic::HttpMonitorHandler< RouterRestApiConnection, Router * >.
Definition at line 60 of file router_rest_api.cc.