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

# Nelexa\GPlay\GPlayApps::setConnectTimeout
`Nelexa\GPlay\GPlayApps::setConnectTimeout` — Sets the number of seconds to wait when trying to connect to the server.

## Description
```php
Nelexa\GPlay\GPlayApps::setConnectTimeout ( float $connectTimeout ) : Nelexa\GPlay\GPlayApps
```

## Parameters
* **$connectTimeout** (float)  
Connection timeout in seconds, for example 3.14. Use 0 to wait indefinitely.

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

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