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
Copy file name to clipboardExpand all lines: README.md
+19-15
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
[](https://packagist.org/packages/clue/http-proxy-react)
5
5
6
6
Async HTTP proxy connector, tunnel any TCP/IP-based protocol through an HTTP
7
-
CONNECT proxy server, built on top of [ReactPHP](https://reactphp.org).
7
+
CONNECT proxy server, built on top of [ReactPHP](https://reactphp.org/).
8
8
9
9
HTTP CONNECT proxy servers (also commonly known as "HTTPS proxy" or "SSL proxy")
10
10
are commonly used to tunnel HTTPS traffic through an intermediary ("proxy"), to
@@ -71,20 +71,24 @@ The following example code demonstrates how this library can be used to send a
71
71
secure HTTPS request to google.com through a local HTTP proxy server:
72
72
73
73
```php
74
+
<?php
75
+
76
+
require __DIR__ . '/vendor/autoload.php';
77
+
74
78
$proxy = new Clue\React\HttpProxy\ProxyConnector('127.0.0.1:8080');
0 commit comments