phpday 2027 - Call for Papers

EventHttp::setTimeout

(PECL event >= 1.4.0-beta)

EventHttp::setTimeout — Sets the timeout for an HTTP request

Description

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

Sets the timeout for an HTTP request.

Parameters

value

The timeout in seconds.

Return Values

No value is returned.

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top