Source for file http.php
Documentation is available at http.php
* @package Joomla.Platform
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
* HTTP client class for connecting to a GitHub instance.
* @package Joomla.Platform
* @const integer Use no authentication for HTTP connections.
* @const integer Use basic authentication for HTTP connections.
* @const integer Use OAuth authentication for HTTP connections.
* @param JRegistry $options Client options object.
* @param JHttpTransport $transport The HTTP transport object.
public function __construct(JRegistry $options =
null, JHttpTransport $transport =
null)
// Call the JHttp constructor to setup the object.
// Make sure the user agent string is defined.
$this->options->def('userAgent', 'JGitHub/2.0');
// Set the default timeout to 120 seconds.
$this->options->def('timeout', 120);
Documentation generated on Tue, 19 Nov 2013 15:04:55 +0100 by phpDocumentor 1.4.3