Sets the retry limit for the connection

EventHttpConnection::setRetries

(PECL event >= 1.2.6-beta)

EventHttpConnection::setRetriesSets the retry limit for the connection

說明

public EventHttpConnection::setRetries( int $retries ): void

Sets the retry limit for the connection

參數

retries

The retry limit. -1 means infinity.

返回值

沒有返回值。

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *