EventHttpConnection
PHP 手册

EventHttpConnection::setTimeout

(PECL event >= 1.2.6-beta)

EventHttpConnection::setTimeoutSets the timeout for the connection

说明

public void EventHttpConnection::setTimeout ( int $timeout )

Sets the timeout for the connection

参数

timeout

Timeout in seconds.

返回值

没有返回值。


EventHttpConnection
PHP 手册