Skip to main content

Module proxy

Module proxy 

Source
Expand description

Proxy configuration (SOCKS5 / HTTP) for peer + tracker connections. Proxy support: SOCKS4, SOCKS5, HTTP CONNECT, and SOCKS5 UDP ASSOCIATE.

Hand-rolled implementations — no external dependency beyond tokio. Provides [connect_through_proxy] for TCP tunneling and [socks5_udp_associate] + [ProxiedUdpSocket] for UDP relay.

Structs§

ProxyConfig
Proxy connection settings.

Enums§

ProxyType
Supported proxy protocols (matching libtorrent).