Ion
|
#include "httpclient.h"
Public Member Functions | |
Response () | |
Public Attributes | |
Url | url |
The requested Url that produced the response. More... | |
int | status |
The status code received from the remote host (e.g., 200, 404);. More... | |
std::string | data |
Data received from the last interaction with the remote host. More... | |
std::map< std::string, std::string > | headers |
Headers returned by the remote host. More... | |
Definition at line 60 of file httpclient.h.
ion::remote::HttpClient::Response::Response | ( | ) |
Definition at line 212 of file httpclient.cc.
std::string ion::remote::HttpClient::Response::data |
Data received from the last interaction with the remote host.
Definition at line 67 of file httpclient.h.
std::map<std::string, std::string> ion::remote::HttpClient::Response::headers |
Headers returned by the remote host.
They take the form headers["header name"] = "value", for example headers["Content-Type"] = "text/html"
Definition at line 71 of file httpclient.h.
int ion::remote::HttpClient::Response::status |
The status code received from the remote host (e.g., 200, 404);.
Definition at line 65 of file httpclient.h.
Url ion::remote::HttpClient::Response::url |
The requested Url that produced the response.
Definition at line 63 of file httpclient.h.