Sets the retry limit for the connection

# EventHttpConnection::setRetries

(PECL event >= 1.2.6-beta)

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

### Description

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

Sets the retry limit for the connection

### Parameters

`retries`

  The retry limit. `-1` means infinity.

### Return Values

No value is returned.

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