This commit is contained in:
Ahmad Nassri
2015-02-05 11:41:42 -05:00
parent c5be546d1b
commit 002c175cd1

View File

@@ -188,7 +188,7 @@ you can also set the proxy type to be one of `CURLPROXY_HTTP`, `CURLPROXY_HTTP_1
Unirest\Request::proxy('10.10.10.1'); Unirest\Request::proxy('10.10.10.1');
// custom port and proxy type // custom port and proxy type
Unirest\Request::proxy('10.10.10.1', 8080, CURLPROXY_HTTP)l Unirest\Request::proxy('10.10.10.1', 8080, CURLPROXY_HTTP);
// enable tunneling // enable tunneling
Unirest\Request::proxy('10.10.10.1', 8080, CURLPROXY_HTTP, true); Unirest\Request::proxy('10.10.10.1', 8080, CURLPROXY_HTTP, true);