Auth_Yadis_HTTPFetcher::get PHP Method

get() public method

Fetches the specified URL using optional extra headers and returns the server's response.
public get ( string $url, $headers = null ) : mixed
$url string The URL to be fetched.
return mixed $result An array of ($code, $url, $headers, $body) if the URL could be fetched; null if the URL does not pass the URLHasAllowedScheme check or if the server's response is malformed.
    function get($url, $headers = null)
    {
        trigger_error("not implemented", E_USER_ERROR);
    }