|
aws-crt-cpp
C++ wrapper around the aws-c-* libraries. Provides Cross-Platform Transport Protocols and SSL/TLS implementations for C++.
|
#include <Socks5.h>
Public Member Functions | |
| Socks5ProxyOptions (const Aws::Crt::String &proxyHost, uint16_t proxyPort, std::shared_ptr< Socks5ProxyNegotiationStrategy > strategy) noexcept | |
| Socks5ProxyOptions (const Socks5ProxyOptions &rhs) noexcept | |
| Socks5ProxyOptions (Socks5ProxyOptions &&rhs) noexcept | |
| Socks5ProxyOptions & | operator= (const Socks5ProxyOptions &rhs) |
| Socks5ProxyOptions & | operator= (Socks5ProxyOptions &&rhs) noexcept |
| Socks5ProxyOptions & | withTimeout (std::chrono::milliseconds timeout) noexcept |
| const Aws::Crt::String & | proxyHost () const noexcept |
| uint16_t | proxyPort () const noexcept |
| std::shared_ptr< Socks5ProxyNegotiationStrategy > | strategy () const noexcept |
| std::chrono::milliseconds | timeout () const noexcept |
Configuration options relevant to routing connections through a SOCKS5 proxy.
|
noexcept |
Constructor for a new instance of SOCKS5 proxy configuration options
| proxyHost | hostname of the SOCKS5 proxy |
| proxyPort | listening port of the SOCKS5 proxy |
| strategy | authentication strategy to use |
|
noexcept |
|
noexcept |
| Socks5ProxyOptions & Aws::Crt::Io::Socks5ProxyOptions::operator= | ( | const Socks5ProxyOptions & | rhs | ) |
|
noexcept |
|
inlinenoexcept |
Gets the hostname of the SOCKS5 proxy
|
inlinenoexcept |
Gets the listening port of the SOCKS5 proxy
|
inlinenoexcept |
Gets the authentication strategy to use when tunneling through the SOCKS5 proxy
|
inlinenoexcept |
Gets the maximum amount of time to wait for a successful negotiation
|
noexcept |
Sets the maximum amount of time to wait before a SOCKS5 negotiation attempt is considered failed
| timeout | maximum amount of time to wait for a successful negotiation |