WireHttp::setTimeout() method

Set the number of seconds till connection times out

Note that the default timeout for http requests is 4.5 seconds

Usage

$http->setTimeout($seconds);

Arguments

NameType(s)Description
$secondsint float

Return value

$this

Object instance it was called from (method supports fluent interface).


$http methods and properties

API reference based on ProcessWire core version 3.0.251