[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
Joomla! Content Management System
Copyright: | (C) 2012 Open Source Matters, Inc. |
License: | GNU General Public License version 2 or later; see LICENSE.txt |
File Size: | 131 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
HttpFactory:: (3 methods):
getHttp()
getAvailableDriver()
getHttpTransports()
Class: HttpFactory - X-Ref
HTTP factory class.getHttp($options = [], $adapters = null) X-Ref |
Method to create a JHttp instance. param: array|\ArrayAccess $options Client options array. param: array|string $adapters Adapter (string) or queue of adapters (array) to use for communication. return: Http |
getAvailableDriver($options = [], $default = null) X-Ref |
Finds an available http transport object for communication param: array|\ArrayAccess $options Options for creating TransportInterface object param: array|string $default Adapter (string) or queue of adapters (array) to use return: TransportInterface|boolean Interface sub-class or boolean false if no adapters are available |
getHttpTransports() X-Ref |
Get the http transport handlers return: array An array of available transport handlers |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |