RestResponse Struct Reference
  Stores a response to a RESTful request. More...
#include <RestClient.hh>
Public Attributes | |
| std::string | data = "" | 
| The data received.  More... | |
| std::map< std::string, std::string > | headers | 
| Map of headers where the key is the header type. For example, a raw header of the form "Content-Type: json" would use "Content-Type" as a key and "json" as the key's data.  More... | |
| int | statusCode = 0 | 
| The returned status code. E.g.: 200.  More... | |
Detailed Description
Stores a response to a RESTful request.
Member Data Documentation
◆ data
| std::string data = "" | 
The data received.
◆ headers
| std::map<std::string, std::string> headers | 
Map of headers where the key is the header type. For example, a raw header of the form "Content-Type: json" would use "Content-Type" as a key and "json" as the key's data.
◆ statusCode
| int statusCode = 0 | 
The returned status code. E.g.: 200.
The documentation for this struct was generated from the following file: