EventHttpConnection::setTimeout

(PECL event >= 1.2.6-beta)

EventHttpConnection::setTimeoutSets the timeout for the connection

说明

public EventHttpConnection::setTimeout ( int $timeout ) : void

Sets the timeout for the connection

参数

timeout

Timeout in seconds.

返回值

没有返回值。