FactoryWrapper
Wrapper class for HttpFactory
since |
3.4 |
---|
Methods
getAvailableDriver
Helper wrapper method for getAvailableDriver
getAvailableDriver(\Joomla\Registry\Registry $options, mixed $default = null) : \Joomla\CMS\Http\TransportInterface
see | \Joomla\CMS\Http\HttpFactory::getAvailableDriver() |
---|---|
since |
3.4 |
Arguments
- $options
\Joomla\Registry\Registry
Option for creating http transport object.- $default
mixed
Adapter (string) or queue of adapters (array) to use.
Response
\Joomla\CMS\Http\TransportInterface
Interface sub-class
getHttp
Helper wrapper method for getHttp
getHttp(\Joomla\Registry\Registry $options = null, mixed $adapters = null) : \Joomla\CMS\Http\Http
see | \Joomla\CMS\Http\HttpFactory::getHttp() |
---|---|
since |
3.4 |
throws |
|
Arguments
- $options
\Joomla\Registry\Registry
Client options object.- $adapters
mixed
Adapter (string) or queue of adapters (array) to use for communication.
Response
\Joomla\CMS\Http\Http
Joomla Http class
getHttpTransports
Helper wrapper method for getHttpTransports
getHttpTransports() : array
see | \Joomla\CMS\Http\HttpFactory::getHttpTransports() |
---|---|
since |
3.4 |
Response
array
An array of available transport handlers