summaryrefslogtreecommitdiff
path: root/it_url.class
diff options
context:
space:
mode:
authorUrban Müller2017-09-13 14:01:21 +0200
committerUrban Müller2017-09-13 14:01:21 +0200
commit3d1c72d298c81a340126b6a11e115f1a0bc89e11 (patch)
tree856ec99bae616fddfd915aa4053bd5528c33068b /it_url.class
parenta0bc3ed10e352bc1e95859869ef0866f32f0c843 (diff)
downloaditools-3d1c72d298c81a340126b6a11e115f1a0bc89e11.tar.gz
itools-3d1c72d298c81a340126b6a11e115f1a0bc89e11.tar.bz2
itools-3d1c72d298c81a340126b6a11e115f1a0bc89e11.zip
better docs
Diffstat (limited to 'it_url.class')
-rw-r--r--it_url.class4
1 files changed, 2 insertions, 2 deletions
diff --git a/it_url.class b/it_url.class
index 7873a1a..4ffbc6b 100644
--- a/it_url.class
+++ b/it_url.class
@@ -87,14 +87,14 @@ function is_reachable($timeout = 5)
}
/**
- * Get simple URL with timeout and one retry. Can be called statically
+ * Get simple URL with timeout and one retry. Can be called statically. Times out, calls it::error for all errs
*
* If the protocol is not http, only features of get_multi are supported.
*
* @param $p parameter array with the following keys
* @param $p['url'] url to get, defaults to constructor URL
* @param $p['headers'] optional associative array of HTTP headers to send
- * @param $p['safety'] DEPRECATED
+ * @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