File tree Expand file tree Collapse file tree 4 files changed +5
-6
lines changed Expand file tree Collapse file tree 4 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -317,9 +317,8 @@ $connector->connect('tls://smtp.googlemail.com:465')->then(function (ConnectionI
317
317
HTTP operates on a higher layer than this low-level SSH proxy implementation.
318
318
If you want to issue HTTP requests, you can add a dependency for
319
319
[ 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 ) .
323
322
When using the ` SshSocksConnector ` (recommended), this works for both plain HTTP
324
323
and TLS-encrypted HTTPS requests. When using the ` SshProcessConnector ` , this only
325
324
works for plaintext HTTP requests.
Original file line number Diff line number Diff line change 10
10
// $ php examples/01-proxy-http.php
11
11
//
12
12
// 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
14
14
15
15
use Clue \React \SshProxy \SshProcessConnector ;
16
16
use React \Socket \Connector ;
Original file line number Diff line number Diff line change 14
14
// $ php examples/02-optional-proxy-http.php
15
15
//
16
16
// 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
18
18
19
19
use Clue \React \SshProxy \SshProcessConnector ;
20
20
use React \Socket \Connector ;
Original file line number Diff line number Diff line change 10
10
// $ php examples/11-proxy-https.php
11
11
//
12
12
// 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
14
14
15
15
use Clue \React \SshProxy \SshSocksConnector ;
16
16
use React \Socket \Connector ;
You can’t perform that action at this time.
0 commit comments