Skip to main content

Module proxy

Module proxy 

Source

Structs§

ProxyState
Shared state passed to each connection handler.

Functions§

handle_connection
Handle a single accepted TCP connection.
parse_host_port
Parse host and port from a CONNECT target, handling IPv6 bracket notation. e.g. “example.com:443”, “[::1]:443”, “example.com”