Ion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ion::remote::HttpClient::Response Struct Reference

#include "httpclient.h"

Collaboration diagram for ion::remote::HttpClient::Response:

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...
 

Detailed Description

Definition at line 60 of file httpclient.h.

Constructor & Destructor Documentation

ion::remote::HttpClient::Response::Response ( )

Definition at line 212 of file httpclient.cc.

Member Data Documentation

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.


The documentation for this struct was generated from the following files: