Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion examples/01-proxy-http.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion examples/02-optional-proxy-http.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion examples/11-proxy-https.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down