diff options
author | Urban Müller | 2017-09-13 14:01:21 +0200 |
---|---|---|
committer | Urban Müller | 2017-09-13 14:01:21 +0200 |
commit | 3d1c72d298c81a340126b6a11e115f1a0bc89e11 (patch) | |
tree | 856ec99bae616fddfd915aa4053bd5528c33068b /it_url.class | |
parent | a0bc3ed10e352bc1e95859869ef0866f32f0c843 (diff) | |
download | itools-3d1c72d298c81a340126b6a11e115f1a0bc89e11.tar.gz itools-3d1c72d298c81a340126b6a11e115f1a0bc89e11.tar.bz2 itools-3d1c72d298c81a340126b6a11e115f1a0bc89e11.zip |
better docs
Diffstat (limited to 'it_url.class')
-rw-r--r-- | it_url.class | 4 |
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 |