EventHttp::setTimeout
PHP function
Edit on GitHub ✎
(PECL event >= 1.4.0-beta)
Sets the timeout for an HTTP request
Description
EventHttp::setTimeout(int $value): void
Sets the timeout for an HTTP request.
Parameters
valueThe timeout in seconds.
Return Values
Void