You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've started looking into this a while back and it actually worked out quite good, but I was never quite happy with its API. As such, I'm looking into adding PSR-7 support via #41 first 👍
In the meantime, these proxy servers are already supported:
However is this solution still up to date?
When I do a composer require, it fails because the current version of ReactPHP is not the good one.
Not compatible I guess, beacause if I try a manual installation, the class ProxyConnector uses classes wich seems to no longer exit, as React\Socket\ConnectorInterface for example. So unable to try your solution :(
Activity
clue commentedon Mar 10, 2017
I've started looking into this a while back and it actually worked out quite good, but I was never quite happy with its API. As such, I'm looking into adding PSR-7 support via #41 first 👍
In the meantime, these proxy servers are already supported:
enrico69 commentedon Jun 28, 2017
Hi
So is there any way to connect through a proxy?
clue commentedon Jun 28, 2017
@enrico69 Absolutely! Have you tried any of the above links? Simply pass a custom connector instance to the
Clientand everything should work 👍Note that plain HTTP proxies are currently not supported yet, hence why this ticket is still open.
enrico69 commentedon Jun 29, 2017
@clue
Hi, and thanks for your answer.
However is this solution still up to date?
When I do a composer require, it fails because the current version of ReactPHP is not the good one.
Not compatible I guess, beacause if I try a manual installation, the class ProxyConnector uses classes wich seems to no longer exit, as React\Socket\ConnectorInterface for example. So unable to try your solution :(
enrico69 commentedon Jun 29, 2017
OK I finally managed to do it.
I completely removed ReactPHP with a composer remove react/react
Then I installed the proper libraries:
composer require clue/http-proxy-react:^1.1
composer require react/http-client
Then a little bit of work to adapt my code to these older version (missing factories for example).
Thanks for your work
clue commentedon Feb 2, 2019
Having used https://github.com/clue/reactphp-http-proxy and https://github.com/clue/reactphp-socks and https://github.com/clue/reactphp-ssh-proxy for a while, I don't think there's anything that needs to be done in this ticket anymore.
I'll assume this is resolved and will close this for now, please feel free to report back otherwise 👍