![]() |
RTBKit
0.9
Open-source framework to create real-time ad bidding systems.
|
#include <json_endpoint.h>
Public Types | |
|
typedef std::function< void(const HttpHeader &header, const Json::Value &json, const std::string &jsonStr, AdHocJsonConnectionHandler *connection) | OnJson ) |
Public Member Functions | |
| AdHocJsonConnectionHandler (OnJson onJson) | |
| virtual void | handleJson (const HttpHeader &header, const Json::Value &json, const std::string &jsonStr) |
Public Attributes | |
| OnJson | onJson |
A JSON connection handler that allows an ad-hoc handler to be used.
Definition at line 57 of file json_endpoint.h.
| virtual void Datacratic::AdHocJsonConnectionHandler::handleJson | ( | const HttpHeader & | header, |
| const Json::Value & | json, | ||
| const std::string & | jsonStr | ||
| ) | [inline, virtual] |
Handler that deals with the actual JSON.
Implements Datacratic::JsonConnectionHandler.
Definition at line 76 of file json_endpoint.h.
1.7.6.1