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 | int, float |
Return value
$this
Object instance it was called from (method supports fluent interface).
API reference based on ProcessWire core version 3.0.236