diff --git a/README.md b/README.md index 3b60ecd..e0fb883 100644 --- a/README.md +++ b/README.md @@ -317,9 +317,8 @@ $connector->connect('tls://smtp.googlemail.com:465')->then(function (ConnectionI HTTP operates on a higher layer than this low-level SSH proxy implementation. If you want to issue HTTP requests, you can add a dependency for [clue/reactphp-buzz](https://github.com/clue/reactphp-buzz). -It can interact with this library by issuing all HTTP requests through your SSH -proxy server, similar to how it can issue -[HTTP requests through an HTTP CONNECT proxy server](https://github.com/clue/reactphp-buzz#http-proxy). +It can interact with this library by issuing all +[HTTP requests through an SSH proxy server](https://github.com/clue/reactphp-buzz#ssh-proxy). When using the `SshSocksConnector` (recommended), this works for both plain HTTP and TLS-encrypted HTTPS requests. When using the `SshProcessConnector`, this only works for plaintext HTTP requests. diff --git a/examples/01-proxy-http.php b/examples/01-proxy-http.php index d9abbc9..256e6ea 100644 --- a/examples/01-proxy-http.php +++ b/examples/01-proxy-http.php @@ -10,7 +10,7 @@ // $ php examples/01-proxy-http.php // // For illustration purposes only. If you want to send HTTP requests in a real -// world project, take a look at https://github.com/clue/reactphp-buzz#http-proxy +// world project, take a look at https://github.com/clue/reactphp-buzz#ssh-proxy use Clue\React\SshProxy\SshProcessConnector; use React\Socket\Connector; diff --git a/examples/02-optional-proxy-http.php b/examples/02-optional-proxy-http.php index 300c7e7..f66fa27 100644 --- a/examples/02-optional-proxy-http.php +++ b/examples/02-optional-proxy-http.php @@ -14,7 +14,7 @@ // $ php examples/02-optional-proxy-http.php // // For illustration purposes only. If you want to send HTTP requests in a real -// world project, take a look at https://github.com/clue/reactphp-buzz#http-proxy +// world project, take a look at https://github.com/clue/reactphp-buzz#ssh-proxy use Clue\React\SshProxy\SshProcessConnector; use React\Socket\Connector; diff --git a/examples/11-proxy-https.php b/examples/11-proxy-https.php index ac86eda..25c3832 100644 --- a/examples/11-proxy-https.php +++ b/examples/11-proxy-https.php @@ -10,7 +10,7 @@ // $ php examples/11-proxy-https.php // // For illustration purposes only. If you want to send HTTP requests in a real -// world project, take a look at https://github.com/clue/reactphp-buzz#http-proxy +// world project, take a look at https://github.com/clue/reactphp-buzz#ssh-proxy use Clue\React\SshProxy\SshSocksConnector; use React\Socket\Connector;