Expand description
HTTP CONNECT proxy client.
Used when the host has a system HTTP proxy configured, to tunnel a TCP
connection by hostname (from the DnsResolutionLog) rather than the raw IP —
critical for fake-IP environments where the destination IP only the proxy can
resolve. The SOCKS5 equivalent lives in crate::socks5.
Functions§
- connect_
via_ http_ proxy - Establishes a TCP tunnel via an HTTP CONNECT proxy (RFC 7231 §4.3.6).