Set the HTTP Client object used to fetch RDF data
object mixed $httpClient The new HTTP client object:
object mixed The new HTTP client object
public static function setDefaultHttpClient($httpClient) {
if (!is_object($httpClient) or !($httpClient instanceof Zend_Http_Client or $httpClient instanceof EasyRdf_Http_Client)) {
throw new InvalidArgumentException("\$httpClient should be an object of class Zend_Http_Client or EasyRdf_Http_Client");
}
return self::$defaultHttpClient = $httpClient;
}