Class provides functionality to send an APIQuery to a server using curl PHP functionality.
More...
Class provides functionality to send an APIQuery to a server using curl PHP functionality.
◆ send()
Send an APIQuery to it's target with authorization token in header.
- Parameters
-
◆ setupDELETE()
| setupDELETE |
( |
& |
$con, |
|
|
array & |
$headers, |
|
|
APIQuery & |
$query |
|
) |
| |
|
private |
Setup the curl connection as DELETE request.
Will also fill the body of the request.
- Parameters
-
| resource | $con | |
| array | $headers | |
| APIQuery | $query | |
◆ setupGET()
| setupGET |
( |
& |
$con, |
|
|
& |
$headers |
|
) |
| |
|
private |
Setup the curl connection as a GET request.
- Parameters
-
| resource | $con | |
| array | $headers | |
◆ setupPOST()
| setupPOST |
( |
& |
$con, |
|
|
array & |
$headers, |
|
|
APIQuery & |
$query |
|
) |
| |
|
private |
Setup the curl connection as POST request.
Will also fill the body of the request.
- Parameters
-
| resource | $con | |
| array | $headers | |
| APIQuery | $query | |
◆ setupPUT()
| setupPUT |
( |
& |
$con, |
|
|
array & |
$headers, |
|
|
APIQuery & |
$query |
|
) |
| |
|
private |
Setup the curl connection as PUT request.
Will also fill the body of the request.
- Parameters
-
| resource | $con | |
| array | $headers | |
| APIQuery | $query | |
◆ CODE_AUTH
The documentation for this class was generated from the following file: