RTBKit  0.9
Open-source framework to create real-time ad bidding systems.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Public Member Functions | Public Attributes
Datacratic::HttpNamedEndpoint::RestConnectionHandler Struct Reference
Inheritance diagram for Datacratic::HttpNamedEndpoint::RestConnectionHandler:
Datacratic::HttpConnectionHandler Datacratic::PassiveConnectionHandler Datacratic::ConnectionHandler

List of all members.

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

HttpNamedEndpointendpoint

Detailed Description

Definition at line 146 of file http_named_endpoint.h.


Member Function Documentation

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.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator