diff options
author | Urban Müller | 2021-06-16 15:19:18 +0200 |
---|---|---|
committer | Urban Müller | 2021-06-16 15:19:18 +0200 |
commit | 899c1eaeef2212ff24645391fc8210afe346300c (patch) | |
tree | 330b637283483997e1fd25518e796af373fece66 /it_url.class | |
parent | 0f9d990dc70536627d54eb437d7077cca159cf55 (diff) | |
download | itools-899c1eaeef2212ff24645391fc8210afe346300c.tar.gz itools-899c1eaeef2212ff24645391fc8210afe346300c.tar.bz2 itools-899c1eaeef2212ff24645391fc8210afe346300c.zip |
improve docs
Diffstat (limited to 'it_url.class')
-rw-r--r-- | it_url.class | 6 |
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 |