EventHttp
PHP Manual

EventHttp::setTimeout

(PECL event >= 1.4.0-beta)

EventHttp::setTimeoutSets the timeout for an HTTP request

Description

public void EventHttp::setTimeout ( int $value )

Sets the timeout for an HTTP request.

Parameters

value

The timeout in seconds.

Return Values

No value is returned.


EventHttp
PHP Manual