API17:JHttp:: sendRequest
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Layout updates) |
||
| Line 12: | Line 12: | ||
===Synopsis=== | ===Synopsis=== | ||
<source lang="php"> | <source lang="php"> | ||
| − | protected | + | protected JHttp::_sendRequest ($connection, $method, JUri $uri, $data=null, $headers=null) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 50: | Line 50: | ||
bool True on success. | bool True on success. | ||
===Defined in=== | ===Defined in=== | ||
| − | libraries/joomla/client/http.php | + | libraries/joomla/client/http.php (line 183) |
| + | * see source code in [[jplatform:client/http.php#cl-183|BitBucket]] | ||
===Referenced by=== | ===Referenced by=== | ||
===See also=== | ===See also=== | ||
Revision as of 20:44, 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.
JHttp::_sendRequest
Description
Send a command to the server and validate an expected response.
Description:JHttp:: sendRequest [Edit Descripton]
Since
Synopsis
protected JHttp::_sendRequest ($connection, $method, JUri $uri, $data=null, $headers=null)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $connection | |||
| $method | mixed | Valid response code or array of response codes. | |
| JUri $uri | |||
| $data | null | ||
| $headers | null |
Returns
bool True on success.
Defined in
libraries/joomla/client/http.php (line 183)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
