Http

Extends \Joomla\Http\Http

HTTP client class.

since

1.7.3

package

Application

Methods

__construct

Constructor.

__construct(array|\ArrayAccess options = [], \Joomla\Http\TransportInterface transport = null) : mixed
since

1.7.3

throws

\InvalidArgumentException

Arguments

options

array|\ArrayAccessClient options array. If the registry contains any headers.* elements, these will be added to the request headers.

transport

\Joomla\Http\TransportInterfaceThe HTTP transport object.

Response

mixed