rest-cpp
REST-like framework and server for blazing fast web applications in C++11
REST::Response Class Reference

Public Member Functions

void use_json ()
 
void authorization (std::string realm)
 

Public Attributes

int status = 200
 
std::string status_message = "OK"
 
std::string raw
 
std::map< std::string,
std::string > 
headers
 
Json::Value data
 
std::chrono::high_resolution_clock::time_point start_time
 

Detailed Description

Response holds response data such as JSON data and status code.