Kurlyk
Loading...
Searching...
No Matches
kurlyk::detail Namespace Reference

Functions

bool proxy_check_has_scheme (const std::string &url, const char *scheme)
bool proxy_check_is_http_url (const std::string &url)
long proxy_check_milliseconds (double seconds)
ProxyCheckResult make_proxy_check_error (const std::error_code &error_code, const std::string &error_message=std::string())
ProxyCheckResult make_proxy_check_result (const HttpResponsePtr &response, bool is_https)
void set_proxy_check_promise (const std::shared_ptr< std::promise< ProxyCheckResult > > &promise, ProxyCheckResult result)

Function Documentation

◆ make_proxy_check_error()

ProxyCheckResult kurlyk::detail::make_proxy_check_error ( const std::error_code & error_code,
const std::string & error_message = std::string() )
inline

Definition at line 50 of file ProxyChecker.hpp.

◆ make_proxy_check_result()

ProxyCheckResult kurlyk::detail::make_proxy_check_result ( const HttpResponsePtr & response,
bool is_https )
inline

Definition at line 59 of file ProxyChecker.hpp.

◆ proxy_check_has_scheme()

bool kurlyk::detail::proxy_check_has_scheme ( const std::string & url,
const char * scheme )
inline

Definition at line 22 of file ProxyChecker.hpp.

◆ proxy_check_is_http_url()

bool kurlyk::detail::proxy_check_is_http_url ( const std::string & url)
inline

Definition at line 35 of file ProxyChecker.hpp.

◆ proxy_check_milliseconds()

long kurlyk::detail::proxy_check_milliseconds ( double seconds)
inline

Definition at line 40 of file ProxyChecker.hpp.

◆ set_proxy_check_promise()

void kurlyk::detail::set_proxy_check_promise ( const std::shared_ptr< std::promise< ProxyCheckResult > > & promise,
ProxyCheckResult result )
inline

Definition at line 96 of file ProxyChecker.hpp.