@@ -50,6 +50,7 @@ mess with most of the low-level details.
5050 * [ UriInterface] ( #uriinterface )
5151 * [ ResponseException] ( #responseexception )
5252* [ Advanced] ( #advanced )
53+ * [ HTTP proxy] ( #http-proxy )
5354 * [ SOCKS proxy] ( #socks-proxy )
5455 * [ Unix domain sockets] ( #unix-domain-sockets )
5556* [ Install] ( #install )
@@ -590,15 +591,32 @@ access its underlying [`ResponseInterface`](#responseinterface) object.
590591
591592## Advanced
592593
594+ ### HTTP proxy
595+
596+ You can also establish your outgoing connections through an HTTP CONNECT proxy server
597+ by adding a dependency to [ clue/reactphp-http-proxy] ( https://github.com/clue/reactphp-http-proxy ) .
598+
599+ HTTP CONNECT proxy servers (also commonly known as "HTTPS proxy" or "SSL proxy")
600+ are commonly used to tunnel HTTPS traffic through an intermediary ("proxy"), to
601+ conceal the origin address (anonymity) or to circumvent address blocking
602+ (geoblocking). While many (public) HTTP CONNECT proxy servers often limit this
603+ to HTTPS port` 443 ` only, this can technically be used to tunnel any TCP/IP-based
604+ protocol, such as plain HTTP and TLS-encrypted HTTPS.
605+
606+ See also the [ HTTP CONNECT proxy example] ( examples/11-http-proxy.php ) .
607+
593608### SOCKS proxy
594609
595610You can also establish your outgoing connections through a SOCKS proxy server
596611by adding a dependency to [ clue/reactphp-socks] ( https://github.com/clue/reactphp-socks ) .
597612
598- The SOCKS protocol operates at the TCP/IP layer and thus requires minimal effort at the HTTP application layer.
599- This works for both plain HTTP and SSL encrypted HTTPS requests.
613+ The SOCKS proxy protocol family (SOCKS5, SOCKS4 and SOCKS4a) is commonly used to
614+ tunnel HTTP(S) traffic through an intermediary ("proxy"), to conceal the origin
615+ address (anonymity) or to circumvent address blocking (geoblocking). While many
616+ (public) SOCKS proxy servers often limit this to HTTP(S) port ` 80 ` and ` 443 `
617+ only, this can technically be used to tunnel any TCP/IP-based protocol.
600618
601- See also the [ SOCKS example] ( examples/11 -socks-proxy.php ) .
619+ See also the [ SOCKS proxy example] ( examples/12 -socks-proxy.php ) .
602620
603621### Unix domain sockets
604622
@@ -623,7 +641,7 @@ $client->get('http://localhost/info')->then(function (ResponseInterface $respons
623641});
624642```
625643
626- See also the [ Unix Domain Sockets (UDS) example] ( examples/12 -unix-domain-sockets.php ) .
644+ See also the [ Unix Domain Sockets (UDS) example] ( examples/13 -unix-domain-sockets.php ) .
627645
628646## Install
629647
0 commit comments