php / 8.1.5 / eventhttp.settimeout.html /

EventHttp::setTimeout

(PECL event >= 1.4.0-beta)

EventHttp::setTimeoutSets the timeout for an HTTP request

Description

public EventHttp::setTimeout( int $value ): void

Sets the timeout for an HTTP request.

Parameters

value

The timeout in seconds.

Return Values

No value is returned.

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/eventhttp.settimeout.php