Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<EventHttpConnection::setMaxHeadersSizeEventHttpConnection::setTimeout>
^EventHttpConnectionLast updated: Mon, 26 Oct 2026

EventHttpConnection::setRetries

(PECL event >= 1.2.6-beta)

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

Description

public function 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.


<EventHttpConnection::setMaxHeadersSizeEventHttpConnection::setTimeout>
^EventHttpConnectionLast updated: Mon, 26 Oct 2026