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.