EventHttpConnection::setTimeout

(PECL event >= 1.2.6-beta)

EventHttpConnection::setTimeoutSets the timeout for the connection

Description

public EventHttpConnection::setTimeout (  int $timeout  ) : void

Sets the timeout for the connection

Parameters

timeout

Timeout in seconds.

Return Values

No value is returned.

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/eventhttpconnection.settimeout.php