Registry / networking / clue-http-proxy-react

clue-http-proxy-react

JSON →
library1.9.0phppackagistunverified

Async HTTP proxy connector that tunnels any TCP/IP-based protocol through an HTTP CONNECT proxy server, built on top of ReactPHP.

composer require clue/http-proxy-react
INSTALL
IMPORT
SIG · CLUE-HTTP-PROXY-RE
C
clue-http-proxy-react
networkingphpv1.9.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ProxyConnector
use Clue\React\HttpProxy\ProxyConnector;

Create a proxy connector and use it to connect to a remote host through an HTTP CONNECT proxy.

use Clue\React\HttpProxy\ProxyConnector; use React\Socket\Connector; $proxy = new ProxyConnector('127.0.0.1:8080'); $connector = new Connector($proxy); $connector->connect('example.com:80')->then(function ($connection) { echo 'Connected!'; });
Debug
Known issues
gotchaRequires ReactPHP event loop to be running.
fix
Ensure you have a loop (e.g., Loop::run()) to process async operations.
affects: >=1.0.0
Upgrade
Version history
1.9.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
31 hits · last 30 days
node
26
OpenAI (training)
1
Resources
clue-http-proxy-react — pip install clue-http-proxy-react · libregistry