public static function EasyRdf_Http::getDefaultHttpClient

Get the HTTP Client object used to fetch RDF data

If no HTTP Client has previously been set, then a new default (EasyRdf_Http_Client) client will be created.

Return value

object mixed The HTTP client object

4 calls to EasyRdf_Http::getDefaultHttpClient()
EasyRdf_Graph::load in drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Graph.php
Load RDF data into the graph from a URI.
EasyRdf_GraphStore::delete in drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/GraphStore.php
Delete a graph from the graph store
EasyRdf_GraphStore::sendGraph in drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/GraphStore.php
Send some graph data to the graph store
EasyRdf_Sparql_Client::query in drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Sparql/Client.php
Make a query to the SPARQL endpoint

File

drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Http.php, line 76

Class

EasyRdf_Http
Static class to set the HTTP client used by EasyRdf

Code

public static function getDefaultHttpClient() {
  if (!isset(self::$defaultHttpClient)) {
    self::$defaultHttpClient = new EasyRdf_Http_Client();
  }
  return self::$defaultHttpClient;
}