JHttpFactory
HTTP factory class.
package |
Joomla.Platform |
---|---|
subpackage |
HTTP |
since |
12.1 |
Methods
getAvailableDriver
Finds an available http transport object for communication
getAvailableDriver(\JRegistry $options, mixed $default = null) : \JHttpTransport
static
since |
12.1 |
---|
Arguments
- $options
\JRegistry
Option for creating http transport object- $default
mixed
Adapter (string) or queue of adapters (array) to use
Response
\JHttpTransport
Interface sub-class
getHttp
method to recieve Http instance.
getHttp(\JRegistry $options = null, mixed $adapters = null) : \JHttp
static
throws |
|
---|---|
since |
12.1 |
Arguments
- $options
\JRegistry
Client options object.- $adapters
mixed
Adapter (string) or queue of adapters (array) to use for communication.
Response
\JHttp
Joomla Http class
getHttpTransports
Get the http transport handlers
getHttpTransports() : array
static
since |
12.1 |
---|
Response
array
An array of available transport handlers