PHP - Manual: EventHttp::setTimeout
2024-12-22
(PECL event >= 1.4.0-beta)
EventHttp::setTimeout — Sets the timeout for an HTTP request
$value
Sets the timeout for an HTTP request.
value
The timeout in seconds.
没有返回值。
官方地址:https://www.php.net/manual/en/eventhttp.settimeout.php