@@ -39,6 +39,7 @@ existing higher-level protocol implementation.
39
39
* [ ProxyConnector] ( #proxyconnector )
40
40
* [ Plain TCP connections] ( #plain-tcp-connections )
41
41
* [ Secure TLS connections] ( #secure-tls-connections )
42
+ * [ HTTP requests] ( #http-requests )
42
43
* [ Connection timeout] ( #connection-timeout )
43
44
* [ DNS resolution] ( #dns-resolution )
44
45
* [ Authentication] ( #authentication )
@@ -49,7 +50,7 @@ existing higher-level protocol implementation.
49
50
* [ License] ( #license )
50
51
* [ More] ( #more )
51
52
52
- ### Quickstart example
53
+ ## Quickstart example
53
54
54
55
The following example code demonstrates how this library can be used to send a
55
56
secure HTTPS request to google.com through a local HTTP proxy server:
@@ -188,6 +189,15 @@ $connector->connect('tls://smtp.googlemail.com:465')->then(function (ConnectionI
188
189
> Note how secure TLS connections are in fact entirely handled outside of
189
190
this HTTP CONNECT client implementation.
190
191
192
+ #### HTTP requests
193
+
194
+ HTTP operates on a higher layer than this low-level HTTP CONNECT implementation.
195
+ If you want to issue HTTP requests, you can add a dependency for
196
+ [ clue/reactphp-buzz] ( https://github.com/clue/reactphp-buzz ) .
197
+ It can interact with this library by issuing all
198
+ [ HTTP requests through a HTTP CONNECT proxy server] ( https://github.com/clue/reactphp-buzz#http-proxy ) .
199
+ This works for both plain HTTP and TLS-encrypted HTTPS requests.
200
+
191
201
#### Connection timeout
192
202
193
203
By default, the ` ProxyConnector ` does not implement any timeouts for establishing remote
0 commit comments