API17:JHttp
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Layout updates) |
||
| Line 6: | Line 6: | ||
===Defined in=== | ===Defined in=== | ||
libraries/joomla/client/http.php | libraries/joomla/client/http.php | ||
| + | * see source code in [[jplatform:client/http.php|BitBucket]] | ||
===Subpackage=== | ===Subpackage=== | ||
[[Subpackage Client/11.1|Client]] | [[Subpackage Client/11.1|Client]] | ||
| Line 44: | Line 45: | ||
<source lang="php">jimport( 'joomla.client.http' );</source> | <source lang="php">jimport( 'joomla.client.http' );</source> | ||
===See also=== | ===See also=== | ||
| + | * JHttp source code in [[jplatform:client/http.php|BitBucket]] | ||
* [[JHttp|Other versions of this class]] | * [[JHttp|Other versions of this class]] | ||
{{SeeAlso:JHttp}} | {{SeeAlso:JHttp}} | ||
Revision as of 17:58, 23 April 2011
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
[Edit Descripton] Description:JHttp
Defined in
libraries/joomla/client/http.php
- see source code in BitBucket
Subpackage
Extends
Extended by
Methods
| Method name | Description |
|---|---|
| __construct | Constructor. |
| __destruct | Destructor. |
| get | Method to send the GET command to the server. |
| head | Method to send the HEAD command to the server. |
| post | Method to send the POST command to the server. |
| _connect | Method to connect to a server and get the resource. |
| _getResponseObject | Method to get a response object from a server response. |
| _sendRequest | Send a command to the server and validate an expected response. |
Importing
jimport( 'joomla.client.http' );
See also
- JHttp source code in BitBucket
- Other versions of this class
Examples
<CodeExamplesForm />
