# EventHttpConnection::setRetries

(PECL event >= 1.2.6-beta)

EventHttpConnection::setRetries — Sets the retry limit for the connection

### Beschreibung

public EventHttpConnection::setRetries( int `$retries` ): void

Sets the retry limit for the connection

### Parameter-Liste

`retries`

  The retry limit. `-1` means infinity.

### Rückgabewerte

Es wird kein Wert zurückgegeben.

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open