Joomla CMS
3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
|
Fonctions membres publiques | |
__construct (Registry $options) | |
request ($method, Uri $uri, $data=null, array $headers=null, $timeout=null, $userAgent=null) | |
Fonctions membres publiques statiques | |
static | isSupported () |
Fonctions membres protégées | |
getResponse ($content, $info) | |
Attributs protégés | |
$options | |
Fonctions membres privées | |
redirectsAllowed () | |
HTTP transport class for using cURL.
__construct | ( | Registry | $options | ) |
Constructor. CURLOPT_FOLLOWLOCATION must be disabled when open_basedir or safe_mode are enabled.
Implémente TransportInterface.
Références $options.
|
protected |
|
static |
Method to check if HTTP transport cURL is available for use
Implémente TransportInterface.
|
private |
request | ( | $method, | |
Uri | $uri, | ||
$data = null , |
|||
array | $headers = null , |
||
$timeout = null , |
|||
$userAgent = null |
|||
) |
Send a request to the server and return a HttpResponse object with the response.
string | $method | The HTTP method for sending the request. |
Uri | $uri | The URI to the resource to request. |
mixed | $data | Either an associative array or a string to be sent with the request. |
array | $headers | An array of request headers to send with the request. |
integer | $timeout | Read timeout in seconds. |
string | $userAgent | The optional user agent string to send with the request. |
Implémente TransportInterface.
Références $config, $content, $data, $info, $key, $message, $options, $uri, $user, $value, et request.
|
protected |