static function quickGet($url)
    {
        $bits = parse_url($url);
        $host = $bits['host'];
        $port = isset($bits['port']) ? $bits['port'] : 80;
        $path = isset($bits['path']) ? $bits['path'] : '/';
        if (isset($bits['query']))
        {
            $path .= '?' . $bits['query'];
        }
        $client = new self($host, $port);
        if (!$client->get($path))
        {
            return false;
        }
        else
        {
            return $client->getContent();
        }
    }
static function quickGet($url)
    {
        $bits = parse_url($url);
        $host = $bits['host'];
        $port = isset($bits['port']) ? $bits['port'] : 80;
        $path = isset($bits['path']) ? $bits['path'] : '/';
        if (isset($bits['query']))
        {
            $path .= '?' . $bits['query'];
        }
        $client = new self($host, $port);
        if (!$client->get($path))
        {
            return false;
        }
        else
        {
            return $client->getContent();
        }
    }
static function quickGet ( $ url ) { $ bits = parse_url ( $ url ) ; $ host = $ bits [ 'host' ] ; $ port = isset ( $ bits [ 'port' ] ) ? $ bits [ 'port' ] : 80 ; $ path = isset ( $ bits [ 'path' ] ) ? $ bits [ 'path' ] : '/' ; if ( isset ( $ bits [ 'query' ] ) ) { $ path .= '?' . $ bits [ 'query' ] ; } $ client = new self ( $ host , $ port ) ; if ( ! $ client -> get ( $ path ) ) { return false ; } else { return $ client -> getContent ( ) ; } }
"Quick" static methods
Quick static methods