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
retriesThe retry limit.
-1means infinity.
Return Values
Void