![]() |
RTBKit
0.9
Open-source framework to create real-time ad bidding systems.
|
Public Member Functions | |
RestConnectionHandler (HttpNamedEndpoint *endpoint) | |
virtual void | handleHttpPayload (const HttpHeader &header, const std::string &payload) |
void | sendErrorResponse (int code, const std::string &error) |
void | sendErrorResponse (int code, const Json::Value &error) |
void | sendResponse (int code, const Json::Value &response, const std::string &contentType="application/json") |
void | sendResponse (int code, const std::string &body, const std::string &contentType) |
Public Attributes | |
HttpNamedEndpoint * | endpoint |
Definition at line 146 of file http_named_endpoint.h.
virtual void Datacratic::HttpNamedEndpoint::RestConnectionHandler::handleHttpPayload | ( | const HttpHeader & | header, |
const std::string & | payload | ||
) | [inline, virtual] |
Called once the entire payload has come through. Default will throw. Will be called multiple times for chunked encoding.
Reimplemented from Datacratic::HttpConnectionHandler.
Definition at line 155 of file http_named_endpoint.h.