[Documentation](../../README.md) > [GPlayApps](README.md) > **setProxy**

# Nelexa\GPlay\GPlayApps::setProxy
`Nelexa\GPlay\GPlayApps::setProxy` — Sets proxy for outgoing HTTP requests.

## Description
```php
Nelexa\GPlay\GPlayApps::setProxy ( string | null $proxy ) : Nelexa\GPlay\GPlayApps
```

## Parameters
* **$proxy** (string | null)  
Proxy url, ex. socks5://127.0.0.1:9050 or https://116.90.233.2:47348

## Return Values
returns the current class instance to allow method chaining

## See Also
* :link: [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY.html) - Description of proxy URL formats in CURL.

[Documentation](../../README.md) > [GPlayApps](README.md) > **setProxy**
