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.

返回值

没有返回值。

User Contributed Notes

There are no user contributed notes for this page.
PHP8中文手册 站长在线 整理 版权归PHP文档组所有