summaryrefslogtreecommitdiff
path: root/it_url.class
diff options
context:
space:
mode:
Diffstat (limited to 'it_url.class')
-rw-r--r--it_url.class6
1 files changed, 3 insertions, 3 deletions
diff --git a/it_url.class b/it_url.class
index 1c3bfb8..a8fd4ca 100644
--- a/it_url.class
+++ b/it_url.class
@@ -98,8 +98,8 @@ static function _postprocess($data, $p)
* @param $p['headers'] optional associative array of HTTP headers to send
* @param $p['safety'] DEPRECATED. 0 = ignore errors, 1 = errors, 2 = fatals
* @param $p['it_error'] extra arguments for it_error or false to ignore errors
- * @param $p['timeout'] timeout per read in seconds, defaults to 5. fractions allowed. silent, see $p['safety']
- * @param $p['totaltimeout'] timeout for the whole function call
+ * @param $p['timeout'] inactivity timeout seconds, default 5. fractions ok. silent by default
+ * @param $p['totaltimeout'] timeout for the whole attempt but see $['retry']
* @param $p['maxlength'] maximum length of response
* @param $p['filemtime'] Add HTTP header to only fetch when newer than this, otherwise return true instead of data
* @param $p['data'] POST data array with key-value pairs
@@ -349,7 +349,7 @@ function request($p=array())
* @param $p parameter array with the following keys (same as it_url::get)
* @param $p['urls'] array/generator of urls to get
* @param $p['timeout'] timeout per read in seconds, defaults to 5. (TODO: fractions allowed?)
- * @param $p['totaltimeout'] timeout for the whole function call (fractions allowed)
+ * @param $p['totaltimeout'] timeout for the whole attempt (fractions ok). see $p['retry']
* @param $p['followlocation'] follow redirects [true]
* @param $p['headers'] optional array of HTTP headers to send
* @param $p['parallel'] max number of parallel requests