PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境

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.

返回值

没有返回值。