EventHttpConnection
PHP Manual

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 Manual