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
317317HTTP operates on a higher layer than this low-level SSH proxy implementation.
318318If 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 ) .
323322When using the ` SshSocksConnector ` (recommended), this works for both plain HTTP
324323and TLS-encrypted HTTPS requests. When using the ` SshProcessConnector ` , this only
325324works for plaintext HTTP requests.
Original file line number Diff line number Diff line change 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
1515use Clue \React \SshProxy \SshProcessConnector ;
1616use React \Socket \Connector ;
Original file line number Diff line number Diff line change 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
1919use Clue \React \SshProxy \SshProcessConnector ;
2020use React \Socket \Connector ;
Original file line number Diff line number Diff line change 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
1515use Clue \React \SshProxy \SshSocksConnector ;
1616use React \Socket \Connector ;
You can’t perform that action at this time.
0 commit comments