Class cHttpRequestCurl
Curl implementation of HttpRequest.
- cHttpRequest
- cHttpRequestCurl
Package: Core
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Mischa Holz
Located at classes/httprequest/class.httprequestcurl.php
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Mischa Holz
Located at classes/httprequest/class.httprequestcurl.php
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
protected
|
|
protected
|
|
protected
|
|
protected
string|boolean
|
#
sendRequest( boolean $return, string $method, boolean $returnHeaders )
Send the request to the server. |
public
string|boolean
|
#
postRequest( boolean $return = true, boolean $returnHeaders = false )
Perform the request using POST. |
public
string|boolean
|
#
getRequest( boolean $return = true, boolean $returnHeaders = false )
Perform the request using GET. |
public
string|boolean
|
|
public
|
|
public
resource
|
getHttpRequest()
|
protected
mixed
|
$curl |
|
#
The curl instance. |
protected
array
|
$postArray |
|
#
Array for the post parameters. |
protected
array
|
$getArray |
|
#
Array for the get parameters. |
protected
array
|
$headerArray |
|
#
Array for the HTTP-headers. |
protected
string
|
$url |
|
#
Request URL. |