/** * Issues a GET request, and returns the response * @method get * @static * @param {string|array} $url The URL to post to * This can also be an array of ($url, $ip) to send the request * to a particular IP, while retaining the hostname and request URI * @param {string} [$user_agent=null] The user-agent string to send. Defaults to Mozilla. * @param {string} [$follow_redirects=true] Whether to follow redirects when getting a response. * @param {string} [$header=null] Optional string to replace the entire GET header * @return {string} The response. * * **NOTE:** *The function waits for it, which might take a while!* */ static function get($url, $user_agent = null, $follow_redirects = true, $header = null) { return Q_Utils::request('GET', $url, null, $user_agent, $follow_redirects, $header); }