From 3d1c72d298c81a340126b6a11e115f1a0bc89e11 Mon Sep 17 00:00:00 2001
From: Urban Müller
Date: Wed, 13 Sep 2017 14:01:21 +0200
Subject: better docs

---
 it_url.class | 4 ++--
 1 file 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
-- 
cgit v1.2.3