![]() |
RTBKit
0.9
Open-source framework to create real-time ad bidding systems.
|
#include <http_endpoint.h>
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 |
Structure used to return an HTTP response. TODO: make use of the the HttpHeader class
Definition at line 30 of file http_endpoint.h.