Omeka_Http_Client

Package: Http

class Omeka_Http_Client

extends Zend_Http_Client

Wrapper for Zend_Http_Client.

Adds the following functionality: retries on timeouts.

Omeka_Http_Client::request($method = null)

Wraps Zend_Http_Client to automatically retry timed out requests.

Parameters:
  • $method
Omeka_Http_Client::setMaxRetries($count)

Set the maximum number of retries to make when a request times out.

Parameters:
  • $count (int) –