PHP 8.1.31 Released!

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.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top