php8.5
Home/ Manual/ event / eventhttpconnection/ EventHttpConnection::setRetries

EventHttpConnection::setRetries

PHP function Edit on GitHub ✎

(PECL event >= 1.2.6-beta)

Sets the retry limit for the connection

Description

EventHttpConnection::setRetries(int $retries): void

Sets the retry limit for the connection

Parameters

retries

The retry limit. -1 means infinity.

Return Values

Void

Source: reference/event/eventhttpconnection/setretries.xml · from the official PHP manual (php/doc-en)