The Configuration struct encapsulates all options for creating requests.
More...
#include <request.h>
The Configuration struct encapsulates all options for creating requests.
Definition at line 161 of file request.h.
static Configuration core::net::http::Request::Configuration::from_uri_as_string |
( |
const std::string & |
uri | ) |
|
|
inlinestatic |
from_uri_as_string creates a new instance of Configuration for a url.
- Parameters
-
uri | The url of the web resource to issue a request for. |
- Returns
- A new Configuration instance.
Definition at line 168 of file request.h.
References uri.
struct { ... } core::net::http::Request::Configuration::authentication_handler |
Encapsulates proxy and http authentication handlers.
Invoked for querying user credentials to do basic/digest auth.
Definition at line 211 of file request.h.
Invoked for querying user credentials to authenticate proxy accesses.
Definition at line 213 of file request.h.
Header core::net::http::Request::Configuration::header |
Custom header fields that are added to the request.
Definition at line 180 of file request.h.
ErrorHandler core::net::http::Request::Configuration::on_error |
Invoked to report a request that finished with an error.
Definition at line 189 of file request.h.
Invoked to report progress.
Definition at line 183 of file request.h.
Invoked to report a successfully finished request.
Definition at line 186 of file request.h.
struct { ... } core::net::http::Request::Configuration::ssl |
SSL-specific options. Please be very careful when adjusting these.
std::string core::net::http::Request::Configuration::uri |
bool core::net::http::Request::Configuration::verify_host |
Initial value:Yes, we want to be strict and verify the host by default, too.
Definition at line 202 of file request.h.
bool core::net::http::Request::Configuration::verify_peer |
Initial value:Yes, we want to verify our peer by default.
Definition at line 196 of file request.h.
The documentation for this struct was generated from the following file:
- /build/buildd/net-cpp-1.1.0+14.10.20140804/include/core/net/http/request.h