/home/techb158/ileadtechnology.com/SSM/vendor/rmccue/requests/docs
NameSizeModeActions
authentication-custom.md12870644editdlrm
authentication.md9250644editdlrm
goals.md11060644editdlrm
hooks.md26280644editdlrm
proxy.md5270644editdlrm
README.md8100644editdlrm
usage-advanced.md26680644editdlrm
usage.md39170644editdlrm
why-requests.md77130644editdlrm
Edit: /home/techb158/ileadtechnology.com/SSM/vendor/rmccue/requests/docs/proxy.md (527B)
Proxy Support ============= You can easily make requests through HTTP proxies. To make requests through an open proxy, specify the following options: ```php $options = array( 'proxy' => '127.0.0.1:3128' ); Requests::get('http://httpbin.org/ip', array(), $options); ``` If your proxy needs you to authenticate, the option will become an array like the following: ```php $options = array( 'proxy' => array( '127.0.0.1:3128', 'my_username', 'my_password' ) ); Requests::get('http://httpbin.org/ip', array(), $options); ```