![]() |
Kurlyk
|
Defines an asynchronous HTTP-based proxy checker. More...
#include <future>#include <limits>#include <memory>#include <string>#include <utility>#include <kurlyk/core.hpp>#include "data.hpp"#include "HttpRequestManager.hpp"#include "utils.hpp"Go to the source code of this file.
Classes | |
| class | kurlyk::ProxyChecker |
| Checks whether a proxy can complete an HTTP or HTTPS no-body request. More... | |
Namespaces | |
| namespace | kurlyk |
| Primary namespace for the Kurlyk library, encompassing initialization, request management, and utility functions. | |
| namespace | kurlyk::detail |
Macros | |
| #define | KURLYK_HEADER_KURLYK_HTTP_PROXY_CHECKER_HPP_INCLUDED |
Functions | |
| bool | kurlyk::detail::proxy_check_has_scheme (const std::string &url, const char *scheme) |
| bool | kurlyk::detail::proxy_check_is_http_url (const std::string &url) |
| long | kurlyk::detail::proxy_check_milliseconds (double seconds) |
| ProxyCheckResult | kurlyk::detail::make_proxy_check_error (const std::error_code &error_code, const std::string &error_message=std::string()) |
| ProxyCheckResult | kurlyk::detail::make_proxy_check_result (const HttpResponsePtr &response, bool is_https) |
| void | kurlyk::detail::set_proxy_check_promise (const std::shared_ptr< std::promise< ProxyCheckResult > > &promise, ProxyCheckResult result) |
| std::future< ProxyCheckResult > | kurlyk::check_proxy (const ProxyConfig &proxy, const ProxyCheckOptions &options=ProxyCheckOptions()) |
| Starts an asynchronous no-body request through a proxy. | |
Defines an asynchronous HTTP-based proxy checker.
Definition in file ProxyChecker.hpp.
| #define KURLYK_HEADER_KURLYK_HTTP_PROXY_CHECKER_HPP_INCLUDED |
Definition at line 3 of file ProxyChecker.hpp.