PHP - Manual: EventHttpConnection::setRetries
2024-12-22
(PECL event >= 1.2.6-beta)
EventHttpConnection::setRetries — Sets the retry limit for the connection
$retries
): voidSets the retry limit for the connection
retries
The retry limit.
-1
means infinity.
没有返回值。
官方地址:https://www.php.net/manual/en/eventhttpconnection.setretries.php