php8.5
Home/ Manual/ event / eventhttpconnection/ EventHttpConnection::setTimeout

EventHttpConnection::setTimeout

PHP function Edit on GitHub ✎

(PECL event >= 1.2.6-beta)

Sets the timeout for the connection

Description

EventHttpConnection::setTimeout(int $timeout): void

Sets the timeout for the connection

Parameters

timeout

Timeout in seconds.

Return Values

Void

Source: reference/event/eventhttpconnection/settimeout.xml · from the official PHP manual (php/doc-en)