Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence de la classe Http
+ Graphe d'héritage de Http:

Fonctions membres publiques

 __construct ($options=[], FrameworkTransportInterface $transport=null)
 
- Fonctions membres publiques hérités de Http
 __construct ($options=[], TransportInterface $transport=null)
 
 getOption ($key, $default=null)
 
 setOption ($key, $value)
 
 options ($url, array $headers=[], $timeout=null)
 
 head ($url, array $headers=[], $timeout=null)
 
 get ($url, array $headers=[], $timeout=null)
 
 post ($url, $data, array $headers=[], $timeout=null)
 
 put ($url, $data, array $headers=[], $timeout=null)
 
 delete ($url, array $headers=[], $timeout=null, $data=null)
 
 trace ($url, array $headers=[], $timeout=null)
 
 patch ($url, $data, array $headers=[], $timeout=null)
 
 sendRequest (RequestInterface $request)
 

Membres hérités additionnels

- Fonctions membres protégées hérités de Http
 makeTransportRequest ($method, $url, $data=null, array $headers=[], $timeout=null)
 
- Attributs protégés hérités de Http
 $options
 
 $transport
 

Description détaillée

HTTP client class.

Depuis
1.7.3

Documentation des constructeurs et destructeur

◆ __construct()

__construct (   $options = [],
FrameworkTransportInterface  $transport = null 
)

Constructor.

Paramètres
array | \ArrayAccess$optionsClient options array. If the registry contains any headers.* elements, these will be added to the request headers.
FrameworkTransportInterface$transportThe HTTP transport object.
Depuis
1.7.3
Exceptions

Références $options.


La documentation de cette classe a été générée à partir du fichier suivant :