![]() |
Kurlyk
|
Stores proxy reachability, protocol status, errors, and curl timing metrics. More...
#include <ProxyCheckResult.hpp>
Public Attributes | |
| bool | reachable = false |
| True when an HTTP response was received through the proxy. | |
| bool | http_ok = false |
| True when the test endpoint returned a 2xx or 3xx response. | |
| bool | https_ok = false |
| True when an HTTPS test returned a 2xx or 3xx response. | |
| std::error_code | error_code |
| Transport, HTTP, or client-side error. | |
| std::string | error_message |
| Error details supplied by the HTTP backend. | |
| long | http_status = 0 |
| HTTP status returned by the test endpoint or proxy. | |
| long | connect_latency_ms = 0 |
| Elapsed time until the TCP connection was established, in milliseconds. | |
| long | tls_latency_ms = 0 |
| TLS setup time after TCP connect, in milliseconds; includes proxy CONNECT negotiation. | |
| long | ttfb_ms = 0 |
| Elapsed time until the first response byte, in milliseconds. | |
| long | total_latency_ms = 0 |
| Total request time, in milliseconds. | |
Stores proxy reachability, protocol status, errors, and curl timing metrics.
Definition at line 15 of file ProxyCheckResult.hpp.
| long kurlyk::ProxyCheckResult::connect_latency_ms = 0 |
Elapsed time until the TCP connection was established, in milliseconds.
Definition at line 24 of file ProxyCheckResult.hpp.
| std::error_code kurlyk::ProxyCheckResult::error_code |
Transport, HTTP, or client-side error.
Definition at line 20 of file ProxyCheckResult.hpp.
| std::string kurlyk::ProxyCheckResult::error_message |
Error details supplied by the HTTP backend.
Definition at line 21 of file ProxyCheckResult.hpp.
| bool kurlyk::ProxyCheckResult::http_ok = false |
True when the test endpoint returned a 2xx or 3xx response.
Definition at line 17 of file ProxyCheckResult.hpp.
| long kurlyk::ProxyCheckResult::http_status = 0 |
HTTP status returned by the test endpoint or proxy.
Definition at line 22 of file ProxyCheckResult.hpp.
| bool kurlyk::ProxyCheckResult::https_ok = false |
True when an HTTPS test returned a 2xx or 3xx response.
Definition at line 18 of file ProxyCheckResult.hpp.
| bool kurlyk::ProxyCheckResult::reachable = false |
True when an HTTP response was received through the proxy.
Definition at line 16 of file ProxyCheckResult.hpp.
| long kurlyk::ProxyCheckResult::tls_latency_ms = 0 |
TLS setup time after TCP connect, in milliseconds; includes proxy CONNECT negotiation.
Definition at line 25 of file ProxyCheckResult.hpp.
| long kurlyk::ProxyCheckResult::total_latency_ms = 0 |
Total request time, in milliseconds.
Definition at line 27 of file ProxyCheckResult.hpp.
| long kurlyk::ProxyCheckResult::ttfb_ms = 0 |
Elapsed time until the first response byte, in milliseconds.
Definition at line 26 of file ProxyCheckResult.hpp.