RTBKit
0.9
Open-source framework to create real-time ad bidding systems.
|
#include <http_rest_proxy.h>
Public Member Functions | |
int | code () const |
std::string | body () const |
std::string | getHeader (const std::string &name) const |
Public Attributes | |
long | code_ |
std::string | body_ |
HttpHeader | header_ |
The response of a request. Has a return code and a body.
Definition at line 33 of file http_rest_proxy.h.
std::string Datacratic::HttpRestProxy::Response::body | ( | ) | const [inline] |
Body of the REST call.
Definition at line 45 of file http_rest_proxy.h.
int Datacratic::HttpRestProxy::Response::code | ( | ) | const [inline] |
Return code of the REST call.
Definition at line 40 of file http_rest_proxy.h.
std::string Datacratic::HttpRestProxy::Response::getHeader | ( | const std::string & | name | ) | const [inline] |
Get the given response header of the REST call.
Definition at line 53 of file http_rest_proxy.h.