An outbound HTTP request for Client.
More...
#include <Client.hpp>
An outbound HTTP request for Client.
◆ body
| std::string orbit::http::ClientRequest::body |
◆ ca_file
| std::string orbit::http::ClientRequest::ca_file |
PEM bundle; empty = system store.
◆ connect_timeout
| std::chrono::milliseconds orbit::http::ClientRequest::connect_timeout {10000} |
◆ follow_redirects
| bool orbit::http::ClientRequest::follow_redirects = true |
◆ headers
| std::vector<std::pair<std::string, std::string> > orbit::http::ClientRequest::headers |
◆ max_redirects
| long orbit::http::ClientRequest::max_redirects = 5 |
◆ max_response_size
| size_t orbit::http::ClientRequest::max_response_size = 10 * 1024 * 1024 |
Larger bodies fail the request.
◆ method
| std::string orbit::http::ClientRequest::method = "GET" |
◆ timeout
| std::chrono::milliseconds orbit::http::ClientRequest::timeout {30000} |
Whole request, redirects included.
◆ url
| std::string orbit::http::ClientRequest::url |
◆ verify_tls
| bool orbit::http::ClientRequest::verify_tls = true |
Certificate chain and host name.
The documentation for this struct was generated from the following file: