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

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.

Detailed Description

Stores proxy reachability, protocol status, errors, and curl timing metrics.

Definition at line 15 of file ProxyCheckResult.hpp.

Member Data Documentation

◆ connect_latency_ms

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.

◆ error_code

std::error_code kurlyk::ProxyCheckResult::error_code

Transport, HTTP, or client-side error.

Definition at line 20 of file ProxyCheckResult.hpp.

◆ error_message

std::string kurlyk::ProxyCheckResult::error_message

Error details supplied by the HTTP backend.

Definition at line 21 of file ProxyCheckResult.hpp.

◆ http_ok

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.

◆ http_status

long kurlyk::ProxyCheckResult::http_status = 0

HTTP status returned by the test endpoint or proxy.

Definition at line 22 of file ProxyCheckResult.hpp.

◆ https_ok

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.

◆ reachable

bool kurlyk::ProxyCheckResult::reachable = false

True when an HTTP response was received through the proxy.

Definition at line 16 of file ProxyCheckResult.hpp.

◆ tls_latency_ms

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.

◆ total_latency_ms

long kurlyk::ProxyCheckResult::total_latency_ms = 0

Total request time, in milliseconds.

Definition at line 27 of file ProxyCheckResult.hpp.

◆ ttfb_ms

long kurlyk::ProxyCheckResult::ttfb_ms = 0

Elapsed time until the first response byte, in milliseconds.

Definition at line 26 of file ProxyCheckResult.hpp.


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