Kurlyk
Loading...
Searching...
No Matches
kurlyk::ProxyChecker Class Reference

Checks whether a proxy can complete an HTTP or HTTPS no-body request. More...

#include <ProxyChecker.hpp>

Public Member Functions

std::future< ProxyCheckResult > check (const ProxyConfig &proxy, const ProxyCheckOptions &options=ProxyCheckOptions()) const
 Starts an asynchronous proxy check.

Detailed Description

Checks whether a proxy can complete an HTTP or HTTPS no-body request.

Definition at line 114 of file ProxyChecker.hpp.

Member Function Documentation

◆ check()

std::future< ProxyCheckResult > kurlyk::ProxyChecker::check ( const ProxyConfig & proxy,
const ProxyCheckOptions & options = ProxyCheckOptions() ) const
inline

Starts an asynchronous proxy check.

Parameters
proxyPassive proxy configuration to check. The use flag is not consulted.
optionsTest URL, timeouts, redirect behavior, and tunnel mode.
Returns
Future containing availability, status, errors, and timing metrics.
Note
The check uses one request without retries and does not download a response body.

Definition at line 121 of file ProxyChecker.hpp.


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