Skip to content

Commit 936101d

Browse files
authored
Merge pull request clue#9 from clue-labs/link-http
Link to clue/reactphp-buzz for HTTP requests
2 parents 2902999 + 3d9d66f commit 936101d

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -317,9 +317,8 @@ $connector->connect('tls://smtp.googlemail.com:465')->then(function (ConnectionI
317317
HTTP operates on a higher layer than this low-level SSH proxy implementation.
318318
If you want to issue HTTP requests, you can add a dependency for
319319
[clue/reactphp-buzz](https://github.com/clue/reactphp-buzz).
320-
It can interact with this library by issuing all HTTP requests through your SSH
321-
proxy server, similar to how it can issue
322-
[HTTP requests through an HTTP CONNECT proxy server](https://github.com/clue/reactphp-buzz#http-proxy).
320+
It can interact with this library by issuing all
321+
[HTTP requests through an SSH proxy server](https://github.com/clue/reactphp-buzz#ssh-proxy).
323322
When using the `SshSocksConnector` (recommended), this works for both plain HTTP
324323
and TLS-encrypted HTTPS requests. When using the `SshProcessConnector`, this only
325324
works for plaintext HTTP requests.

examples/01-proxy-http.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// $ php examples/01-proxy-http.php
1111
//
1212
// For illustration purposes only. If you want to send HTTP requests in a real
13-
// world project, take a look at https://github.com/clue/reactphp-buzz#http-proxy
13+
// world project, take a look at https://github.com/clue/reactphp-buzz#ssh-proxy
1414

1515
use Clue\React\SshProxy\SshProcessConnector;
1616
use React\Socket\Connector;

examples/02-optional-proxy-http.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// $ php examples/02-optional-proxy-http.php
1515
//
1616
// For illustration purposes only. If you want to send HTTP requests in a real
17-
// world project, take a look at https://github.com/clue/reactphp-buzz#http-proxy
17+
// world project, take a look at https://github.com/clue/reactphp-buzz#ssh-proxy
1818

1919
use Clue\React\SshProxy\SshProcessConnector;
2020
use React\Socket\Connector;

examples/11-proxy-https.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// $ php examples/11-proxy-https.php
1111
//
1212
// For illustration purposes only. If you want to send HTTP requests in a real
13-
// world project, take a look at https://github.com/clue/reactphp-buzz#http-proxy
13+
// world project, take a look at https://github.com/clue/reactphp-buzz#ssh-proxy
1414

1515
use Clue\React\SshProxy\SshSocksConnector;
1616
use React\Socket\Connector;

0 commit comments

Comments
 (0)