Class cHttpRequestSocket
fsockopen implementation of HttpRequest.
- cHttpRequest
- cHttpRequestSocket
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.httprequestsocket.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.httprequestsocket.php
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
protected
|
|
protected
|
|
protected
|
|
protected
string|boolean
|
#
sendRequest( boolean $return, string $method, boolean $returnHeaders = false )
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
|
getHttpRequest()
|
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. |
protected
string
|
$boundary |
|
#
Boundary for the multipart from-data. |
protected
string
|
$header |
|
#
The HTTP header. |
protected
string
|
$body |
|
#
The HTTP body. |