#include <forwarding.hpp>
◆ listen
| TcpEndpoint sshpp::SocksProxy::Options::listen {"127.0.0.1", 1080} |
◆ allow_socks4
| bool sshpp::SocksProxy::Options::allow_socks4 = false |
◆ max_connections
| std::size_t sshpp::SocksProxy::Options::max_connections = 128 |
◆ buffer_size
| std::size_t sshpp::SocksProxy::Options::buffer_size = 64 * 1024 |
◆ allow
| std::function<bool(const ForwardTarget&)> sshpp::SocksProxy::Options::allow |
Called with the requested destination; return false to refuse.
◆ on_error
| std::function<void(const ErrorInfo&)> sshpp::SocksProxy::Options::on_error |
The documentation for this struct was generated from the following file: