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::HttpResponse Struct Reference

#include <http_endpoint.h>

List of all members.

Public Member Functions

 HttpResponse (int responseCode, std::string contentType, std::string body, std::vector< std::pair< std::string, std::string > > extraHeaders=std::vector< std::pair< std::string, std::string > >())
 HttpResponse (int responseCode, Json::Value body, std::vector< std::pair< std::string, std::string > > extraHeaders=std::vector< std::pair< std::string, std::string > >())

Public Attributes

int responseCode
std::string responseStatus
std::string contentType
std::string body
std::vector< std::pair
< std::string, std::string > > 
extraHeaders

Detailed Description

Structure used to return an HTTP response. TODO: make use of the the HttpHeader class

Definition at line 30 of file http_endpoint.h.


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