API17:JHttp
From Joomla! Documentation
JHttp
Description
Methods
| Visibility | Method name | Description |
|---|---|---|
| public | __construct | Constructor. |
| public | __destruct | Destructor. |
| public | get | Method to send the GET command to the server. |
| public | head | Method to send the HEAD command to the server. |
| public | post | Method to send the POST command to the server. |
| protected | _connect | Method to connect to a server and get the resource. |
| protected | _getResponseObject | Method to get a response object from a server response. |
| protected | _sendRequest | Send a command to the server and validate an expected response. |
- Defined in libraries/joomla/client/http.php
Importing
jimport( 'joomla.client.http' );
See also
JHttp source code on BitBucket
Subpackage Client- Other versions of JHttp
User contributed notes
Code Examples