API17

Difference between revisions of "JHttp:: sendRequest"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 12: Line 12:
 
===Synopsis===
 
===Synopsis===
 
<source lang="php">
 
<source lang="php">
protected JHttp->_sendRequest ($connection, $method, JUri $uri, $data=null, $headers=null)
+
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

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.

Joomla 11.1 JHttp::_sendRequest[edit]

Description[edit]

Send a command to the server and validate an expected response.

Template:Description:JHttp:: sendRequest [Edit Descripton]

Since[edit]

Joomla 11.1

Synopsis[edit]

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[edit]

bool True on success.

Defined in[edit]

libraries/joomla/client/http.php (line 183)

Referenced by[edit]

See also[edit]

[Edit See Also]

Template:SeeAlso:JHttp:: sendRequest

Examples[edit]

<CodeExamplesForm />