|
RADLib
RADical C++ application framework
|
HTTP request options for RADHttpClient::request(). More...
#include <RADNet.h>
Public Attributes | |
| std::string | method = "GET" |
| HTTP method such as GET, POST, PUT, DELETE. More... | |
| std::string | url |
| Target URL. More... | |
| std::map< std::string, std::string > | headers |
| Request headers. More... | |
| std::string | body |
| Request body bytes/text. More... | |
| long | timeoutMs = 30000 |
| Total request timeout in milliseconds. More... | |
| long | connectTimeoutMs = 10000 |
| Connection timeout in milliseconds. More... | |
| bool | followRedirects = true |
| Follow redirects. More... | |
| long | maxRedirects = 8 |
| Maximum redirects when followRedirects is true. More... | |
| bool | verifyTls = true |
| Verify TLS peers for HTTPS requests. More... | |
HTTP request options for RADHttpClient::request().
| std::string RADNet::RADHttpRequest::body |
Request body bytes/text.
| long RADNet::RADHttpRequest::connectTimeoutMs = 10000 |
Connection timeout in milliseconds.
| bool RADNet::RADHttpRequest::followRedirects = true |
Follow redirects.
| std::map<std::string, std::string> RADNet::RADHttpRequest::headers |
Request headers.
| long RADNet::RADHttpRequest::maxRedirects = 8 |
Maximum redirects when followRedirects is true.
| std::string RADNet::RADHttpRequest::method = "GET" |
HTTP method such as GET, POST, PUT, DELETE.
| long RADNet::RADHttpRequest::timeoutMs = 30000 |
Total request timeout in milliseconds.
| std::string RADNet::RADHttpRequest::url |
Target URL.
| bool RADNet::RADHttpRequest::verifyTls = true |
Verify TLS peers for HTTPS requests.