Liste de tous les membres
Fonctions membres publiques |
| __construct (JRegistry &$options=null, JHttpTransport $transport=null) |
| getOption ($key) |
| setOption ($key, $value) |
| options ($url, array $headers=null) |
| head ($url, array $headers=null) |
| get ($url, array $headers=null) |
| post ($url, $data, array $headers=null) |
| put ($url, $data, array $headers=null) |
| delete ($url, array $headers=null) |
| trace ($url, array $headers=null) |
Documentation des constructeurs et destructeur
Documentation des fonctions membres
JHttp::delete |
( |
|
$url, |
|
|
array |
$headers = null |
|
) |
| |
Method to send the DELETE command to the server.
- Paramètres:
-
string | $url | Path to the resource. |
array | $headers | An array of name-value pairs to include in the header of the request. |
- Renvoie:
- JHttpResponse
- Depuis:
- 11.3
Références $url, et null.
JHttp::get |
( |
|
$url, |
|
|
array |
$headers = null |
|
) |
| |
Method to send the GET command to the server.
- Paramètres:
-
string | $url | Path to the resource. |
array | $headers | An array of name-value pairs to include in the header of the request. |
- Renvoie:
- JHttpResponse
- Depuis:
- 11.3
Références $url, et null.
Get an option from the HTTP client.
- Paramètres:
-
string | $key | The name of the option to get. |
- Renvoie:
- mixed The option value.
- Depuis:
- 11.3
Références $key.
JHttp::head |
( |
|
$url, |
|
|
array |
$headers = null |
|
) |
| |
Method to send the HEAD command to the server.
- Paramètres:
-
string | $url | Path to the resource. |
array | $headers | An array of name-value pairs to include in the header of the request. |
- Renvoie:
- JHttpResponse
- Depuis:
- 11.3
Références $url, et null.
JHttp::options |
( |
|
$url, |
|
|
array |
$headers = null |
|
) |
| |
Method to send the OPTIONS command to the server.
- Paramètres:
-
string | $url | Path to the resource. |
array | $headers | An array of name-value pairs to include in the header of the request. |
- Renvoie:
- JHttpResponse
- Depuis:
- 11.3
Références $url, et null.
JHttp::post |
( |
|
$url, |
|
|
|
$data, |
|
|
array |
$headers = null |
|
) |
| |
Method to send the POST command to the server.
- Paramètres:
-
string | $url | Path to the resource. |
mixed | $data | Either an associative array or a string to be sent with the request. |
array | $headers | An array of name-value pairs to include in the header of the request. |
- Renvoie:
- JHttpResponse
- Depuis:
- 11.3
Références $data, et $url.
JHttp::put |
( |
|
$url, |
|
|
|
$data, |
|
|
array |
$headers = null |
|
) |
| |
Method to send the PUT command to the server.
- Paramètres:
-
string | $url | Path to the resource. |
mixed | $data | Either an associative array or a string to be sent with the request. |
array | $headers | An array of name-value pairs to include in the header of the request. |
- Renvoie:
- JHttpResponse
- Depuis:
- 11.3
Références $data, et $url.
JHttp::setOption |
( |
|
$key, |
|
|
|
$value |
|
) |
| |
Set an option for the HTTP client.
- Paramètres:
-
string | $key | The name of the option to set. |
mixed | $value | The option value to set. |
- Renvoie:
- JHttp This object for method chaining.
- Depuis:
- 11.3
Références $key.
JHttp::trace |
( |
|
$url, |
|
|
array |
$headers = null |
|
) |
| |
Method to send the TRACE command to the server.
- Paramètres:
-
string | $url | Path to the resource. |
array | $headers | An array of name-value pairs to include in the header of the request. |
- Renvoie:
- JHttpResponse
- Depuis:
- 11.3
Références $url, et null.
Documentation des données membres
La documentation de cette classe a été générée à partir du fichier suivant :