diff options
-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 9af36e3..091baf9 100644 --- a/it_url.class +++ b/it_url.class @@ -109,13 +109,13 @@ static function _postprocess($data, $p) * @param $p['it_error'] extra arguments for it_error or false to ignore errors * @param $p['fetchsleep'] Number of seconds to wait after fetch, fractions ok * @param $p['empty_on_fail'] Return empty page if http status code is >= 400 - + * * Result processing * @param $p['assoc'] Return [ 'data' => string, 'status' => int, 'cookies' => array, 'headers' => array, 'errstr' => string ] instead of just data * @param $p['writefunction'] function to be called whenever data is received (for server-sent-events etc.) * @param $p['postprocess'] function called with content and $p which has it_error. returns content or null (which triggers retry) * @param $p['followlocation']Follow redirects [true] - + * * @return Content of resulting page (considering redirects, excluding headers or false on error) or array (empty on error) if 'assoc' => true */ static function get($p = []) |