diff options
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 |