API17:JHttp:: sendRequest
From Joomla! Documentation
JHttp::_sendRequest
Description
Send a command to the server and validate an expected response.
protected function _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 |
See also
JHttp::_sendRequest source code on BitBucket
Class JHttp
Subpackage Client- Other versions of JHttp::_sendRequest
User contributed notes
Code Examples