Kurlyk
Loading...
Searching...
No Matches
kurlyk::ProxyCheckOptions Struct Reference

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.

Detailed Description

Configures the no-body request used to check a proxy.

Definition at line 14 of file ProxyCheckOptions.hpp.

Member Data Documentation

◆ ca_file

std::string kurlyk::ProxyCheckOptions::ca_file

Optional CA bundle used for HTTPS verification.

Definition at line 16 of file ProxyCheckOptions.hpp.

◆ connect_timeout

long kurlyk::ProxyCheckOptions::connect_timeout = 3

Connection timeout in seconds.

Definition at line 17 of file ProxyCheckOptions.hpp.

◆ follow_redirects

bool kurlyk::ProxyCheckOptions::follow_redirects = false

Follow redirects returned by the test endpoint.

Definition at line 19 of file ProxyCheckOptions.hpp.

◆ proxy_tunnel

bool kurlyk::ProxyCheckOptions::proxy_tunnel = false

Force an HTTP CONNECT tunnel where supported.

Definition at line 20 of file ProxyCheckOptions.hpp.

◆ request_timeout

long kurlyk::ProxyCheckOptions::request_timeout = 5

Complete request timeout in seconds.

Definition at line 18 of file ProxyCheckOptions.hpp.

◆ test_url

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.


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