array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'eventhttp.settimeout.php', 1 => 'EventHttp::setTimeout', 2 => 'Sets the timeout for an HTTP request', ), 'up' => array ( 0 => 'class.eventhttp.php', 1 => 'EventHttp', ), 'prev' => array ( 0 => 'eventhttp.setmaxheaderssize.php', 1 => 'EventHttp::setMaxHeadersSize', ), 'next' => array ( 0 => 'class.eventhttpconnection.php', 1 => 'EventHttpConnection', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/event/eventhttp/settimeout.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

EventHttp::setTimeout

(PECL event >= 1.4.0-beta)

EventHttp::setTimeoutSets the timeout for an HTTP request

Beschreibung

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

Sets the timeout for an HTTP request.

Parameter-Liste

value

The timeout in seconds.

Rückgabewerte

Es wird kein Wert zurückgegeben.