Class JHttpFactory

Description

HTTP factory class.

  • since: 12.1

Located in /libraries/joomla/http/factory.php (line 19)


	
			
Method Summary
 static JHttpTransport getAvailableDriver (JRegistry $options, [mixed $default = null])
 static JHttp getHttp ([JRegistry $options = null], [mixed $adapters = null])
 static array getHttpTransports ()
Methods
static getAvailableDriver (line 51)

Finds an available http transport object for communication

  • return: Interface sub-class
  • since: 12.1
  • access: public
static JHttpTransport getAvailableDriver (JRegistry $options, [mixed $default = null])
  • JRegistry $options: Option for creating http transport object
  • mixed $default: Adapter (string) or queue of adapters (array) to use
static getHttp (line 31)

method to receive Http instance.

  • return: Joomla Http class
  • since: 12.1
  • access: public
static JHttp getHttp ([JRegistry $options = null], [mixed $adapters = null])
  • JRegistry $options: Client options object.
  • mixed $adapters: Adapter (string) or queue of adapters (array) to use for communication.
static getHttpTransports (line 89)

Get the http transport handlers

  • return: An array of available transport handlers
  • since: 12.1
  • access: public
static array getHttpTransports ()

Documentation generated on Tue, 19 Nov 2013 15:02:49 +0100 by phpDocumentor 1.4.3