JHttp
From Joomla! Documentation
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JHttp[edit]
Description[edit]
Methods[edit]
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[edit]
jimport( 'joomla.client.http' );
See also[edit]
- JHttp source code on BitBucket
- Subpackage Client
- Other versions of JHttp
User contributed notes[edit]
Code Examples[edit]