MXS-1220: Create HTTP response class
The HTTP response class simplifies the response creation. The next step is to add generation of all the default headers that are needed by the REST API.
This commit is contained in:
committed by
Markus Mäkelä
parent
55b52b8ab1
commit
a73d3e9276
@ -124,9 +124,9 @@ private:
|
||||
HttpRequest(const HttpRequest&);
|
||||
HttpRequest& operator = (const HttpRequest&);
|
||||
|
||||
map<string, string> m_headers;
|
||||
Closer<json_t*> m_json;
|
||||
string m_json_string;
|
||||
string m_resource;
|
||||
enum http_verb m_verb;
|
||||
map<string, string> m_headers; /**< Request headers */
|
||||
Closer<json_t*> m_json; /**< Request body */
|
||||
string m_json_string; /**< String version of @c m_json */
|
||||
string m_resource; /**< Requested resource */
|
||||
enum http_verb m_verb; /**< Request method */
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user