Skip to content

Implement HTTP proxy support #44

Closed

Description

@clue
No description provided.

Activity

  1. clue commented on Mar 10, 2017

    @clue
    MemberAuthor

    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:

  2. enrico69 commented on Jun 28, 2017

    @enrico69

    Hi
    So is there any way to connect through a proxy?

  3. clue commented on Jun 28, 2017

    @clue
    MemberAuthor

    @enrico69 Absolutely! Have you tried any of the above links? Simply pass a custom connector instance to the Client and everything should work 👍

    Note that plain HTTP proxies are currently not supported yet, hence why this ticket is still open.

  4. enrico69 commented on Jun 29, 2017

    @enrico69

    @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 :(

  5. enrico69 commented on Jun 29, 2017

    @enrico69

    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

  6. clue commented on Feb 2, 2019

    @clue
    MemberAuthor

    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 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions