Class

EasyRdf_Http

class EasyRdf_Http

Static class to set the HTTP client used by EasyRdf

Methods

static object setDefaultHttpClient(object $httpClient)

Set the HTTP Client object used to fetch RDF data

static object getDefaultHttpClient()

Get the HTTP Client object used to fetch RDF data

Details

at line 56
static public object setDefaultHttpClient(object $httpClient)

Set the HTTP Client object used to fetch RDF data

Parameters

object $httpClient mixed $httpClient The new HTTP client object

Return Value

object mixed The new HTTP client object

at line 75
static public object 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

object mixed The HTTP client object