![]() |
Kurlyk
|
Configures the no-body request used to check a proxy. More...
#include <ProxyCheckOptions.hpp>
Public Attributes | |
| std::string | test_url = "https://example.com/" |
| HTTP or HTTPS URL requested through the proxy. | |
| std::string | ca_file |
| Optional CA bundle used for HTTPS verification. | |
| long | connect_timeout = 3 |
| Connection timeout in seconds. | |
| long | request_timeout = 5 |
| Complete request timeout in seconds. | |
| bool | follow_redirects = false |
| Follow redirects returned by the test endpoint. | |
| bool | proxy_tunnel = false |
| Force an HTTP CONNECT tunnel where supported. | |
Configures the no-body request used to check a proxy.
Definition at line 14 of file ProxyCheckOptions.hpp.
| std::string kurlyk::ProxyCheckOptions::ca_file |
Optional CA bundle used for HTTPS verification.
Definition at line 16 of file ProxyCheckOptions.hpp.
| long kurlyk::ProxyCheckOptions::connect_timeout = 3 |
Connection timeout in seconds.
Definition at line 17 of file ProxyCheckOptions.hpp.
| bool kurlyk::ProxyCheckOptions::follow_redirects = false |
Follow redirects returned by the test endpoint.
Definition at line 19 of file ProxyCheckOptions.hpp.
| bool kurlyk::ProxyCheckOptions::proxy_tunnel = false |
Force an HTTP CONNECT tunnel where supported.
Definition at line 20 of file ProxyCheckOptions.hpp.
| long kurlyk::ProxyCheckOptions::request_timeout = 5 |
Complete request timeout in seconds.
Definition at line 18 of file ProxyCheckOptions.hpp.
| std::string kurlyk::ProxyCheckOptions::test_url = "https://example.com/" |
HTTP or HTTPS URL requested through the proxy.
Definition at line 15 of file ProxyCheckOptions.hpp.