EasyRdf API Documentation
Class

EasyRdf_Http

class EasyRdf_Http

Static class to set the HTTP client used by EasyRdf

Methods

static EasyRdf_Http_Client|Zend_Http_Client setDefaultHttpClient(EasyRdf_Http_Client|Zend_Http_Client $httpClient)

Set the HTTP Client object used to fetch RDF data

static EasyRdf_Http_Client|Zend_Http_Client getDefaultHttpClient()

Get the HTTP Client object used to fetch RDF data

Details

at line 56
static public EasyRdf_Http_Client|Zend_Http_Client setDefaultHttpClient(EasyRdf_Http_Client|Zend_Http_Client $httpClient)

Set the HTTP Client object used to fetch RDF data

Parameters

EasyRdf_Http_Client|Zend_Http_Client $httpClient The new HTTP client object

Return Value

EasyRdf_Http_Client|Zend_Http_Client The new HTTP client object

at line 75
static public EasyRdf_Http_Client|Zend_Http_Client getDefaultHttpClient()

Get the HTTP Client object used to fetch RDF data

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

Return Value

EasyRdf_Http_Client|Zend_Http_Client The HTTP client object