EventHttpConnection
PHP Manual

EventHttpConnection::setRetries

(PECL event >= 1.2.6-beta)

EventHttpConnection::setRetriesSets the retry limit for the connection

说明

public void EventHttpConnection::setRetries ( int $retries )

Sets the retry limit for the connection

参数

retries

The retry limit. -1 means infinity.

返回值

没有返回值。


EventHttpConnection
PHP Manual