EventHttpConnection::setRetries

(PECL event >= 1.2.6-beta)

EventHttpConnection::setRetriesSets the retry limit for the connection

Descripción

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

Sets the retry limit for the connection

Parámetros

retries

The retry limit. -1 means infinity.

Valores devueltos

No devuelve ningún valor.