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
\JRegistryOption for creating http transport object- $default
mixedAdapter (string) or queue of adapters (array) to use
Response
\JHttpTransportInterface sub-class
getHttp
method to recieve Http instance.
getHttp(\JRegistry $options = null, mixed $adapters = null) : \JHttp
static
| throws |
|
|---|---|
| since |
12.1 |
Arguments
- $options
\JRegistryClient options object.- $adapters
mixedAdapter (string) or queue of adapters (array) to use for communication.
Response
\JHttpJoomla Http class
getHttpTransports
Get the http transport handlers
getHttpTransports() : array
static
| since |
12.1 |
|---|
Response
arrayAn array of available transport handlers