A proxy endpoint, either a network service or a local unix domain socket.
Declared in <netbase.h>
class Proxy;
| Name | Description |
|---|---|
Proxy [constructor] | Constructors |
Connect | Open a connection to this proxy. |
GetFamily | Get the socket address family of this proxy. |
IsValid | Check whether this proxy is valid. |
ToString | Get a human-readable representation of this proxy. |
| Name | Description |
|---|---|
m_is_unix_socket | Whether this proxy is a local unix domain socket. |
m_tor_stream_isolation | Whether Tor stream isolation is enabled for this proxy. |
m_unix_socket_path | Filesystem path of the unix domain socket (unused for service proxies). |
proxy | The proxy network service address (unused for unix socket proxies). |
| Name | Description |
|---|---|
ConnectThroughProxy | Connect to a specified destination service through a SOCKS5 proxy by first connecting to the SOCKS5 proxy. |
GetNameProxy | Get the configured name proxy, if any. |
GetProxy | Get the proxy configured for a given network, if any. |
SetNameProxy | Set the name proxy to use for all connections to nodes specified by a hostname. After setting this proxy, connecting to a node specified by a hostname won't result in a local lookup of said hostname, rather, connect to the node by asking the name proxy for a proxy connection to the hostname, effectively delegating the hostname lookup to the specified proxy. |