Skip to content

Commit

Permalink
Merge pull request #9 from clue-labs/link-http
Browse files Browse the repository at this point in the history
Link to clue/reactphp-buzz for HTTP requests
  • Loading branch information
clue authored Dec 15, 2018
2 parents 2902999 + 3d9d66f commit 936101d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
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

0 comments on commit 936101d

Please sign in to comment.