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
| Name | Type(s) | Description | 
|---|---|---|
| $seconds | intfloat | 
Return value
$thisObject instance it was called from (method supports fluent interface).
API reference based on ProcessWire core version 3.0.252