Actions

API17

Difference between revisions of "JHttp"

From Joomla! Documentation

m (User contributed notes: moving preparation)
m (moving preparation)
 
Line 14: Line 14:
 
|-
 
|-
 
|public  
 
|public  
|[[JHttp::__construct/11.1|__construct]]
+
|[[API17:JHttp::__construct|__construct]]
 
|Constructor.  
 
|Constructor.  
 
|-
 
|-
 
|public  
 
|public  
|[[JHttp::__destruct/11.1|__destruct]]
+
|[[API17:JHttp::__destruct|__destruct]]
 
|Destructor.  
 
|Destructor.  
 
|-
 
|-
 
|public  
 
|public  
|[[JHttp::get/11.1|get]]
+
|[[API17:JHttp::get|get]]
 
|Method to send the GET command to the server.  
 
|Method to send the GET command to the server.  
 
|-
 
|-
 
|public  
 
|public  
|[[JHttp::head/11.1|head]]
+
|[[API17:JHttp::head|head]]
 
|Method to send the HEAD command to the server.  
 
|Method to send the HEAD command to the server.  
 
|-
 
|-
 
|public  
 
|public  
|[[JHttp::post/11.1|post]]
+
|[[API17:JHttp::post|post]]
 
|Method to send the POST command to the server.  
 
|Method to send the POST command to the server.  
 
|-
 
|-
 
|protected  
 
|protected  
|[[JHttp::_connect/11.1|_connect]]
+
|[[API17:JHttp::_connect|_connect]]
 
|Method to connect to a server and get the resource.  
 
|Method to connect to a server and get the resource.  
 
|-
 
|-
 
|protected  
 
|protected  
|[[JHttp::_getResponseObject/11.1|_getResponseObject]]
+
|[[API17:JHttp::_getResponseObject|_getResponseObject]]
 
|Method to get a response object from a server response.  
 
|Method to get a response object from a server response.  
 
|-
 
|-
 
|protected  
 
|protected  
|[[JHttp::_sendRequest/11.1|_sendRequest]]
+
|[[API17:JHttp::_sendRequest|_sendRequest]]
 
|Send a command to the server and validate an expected response.  
 
|Send a command to the server and validate an expected response.  
 
|-
 
|-
Line 51: Line 51:
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JHttp source code''' on [[jplatform:client/http.php|BitBucket]]
 
* {{JVer|11.1}} '''JHttp source code''' on [[jplatform:client/http.php|BitBucket]]
* {{JVer|11.1}} Subpackage [[Subpackage Client/11.1|Client]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage Client|Client]]
* [[JHttp|Other versions of JHttp]]
+
* [[API17:JHttp|Other versions of JHttp]]
 
{{SeeAlso:JHttp}}
 
{{SeeAlso:JHttp}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">

Latest revision as of 20:57, 11 May 2013

Replacement filing cabinet.png
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.

Joomla 11.1 JHttp

Description

Description:JHttp [Edit Descripton]

Methods

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

jimport( 'joomla.client.http' );

See also

SeeAlso:JHttp [Edit See Also]

User contributed notes

<CodeExamplesForm />