Class Curl
The CurlRequest class is a simple wrapper to CURL functions. Not only does this permit stubbing of the interface as described under the HttpRequest interface, it could potentially allow us to replace the interface methods with other function calls in the future.
- OpenCloud\Common\Base
-
OpenCloud\Common\Request\Curl implements OpenCloud\Common\Request\HttpRequestInterface
Namespace: OpenCloud\Common\Request
Author: Glen Campbell <glen.campbell@rackspace.com>
Api
Located at OpenCloud/Common/Request/Curl.php
Author: Glen Campbell <glen.campbell@rackspace.com>
Api
Located at OpenCloud/Common/Request/Curl.php
public
|
#
__construct( string $url, string $method = 'GET', array $options = array() )
Initializes the CURL handle and HTTP method |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
OpenCloud\HttpResponse
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
_get_header_cb( mixed $ch, string $header )
This is a callback method used to handle the returned HTTP headers |
__set(),
checkJsonError(),
getHttpRequestObject(),
getLogger(),
makeQueryString(),
populate(),
setLogger(),
setProperty(),
url()
|
Execute(),
SetHeader(),
SetOption()
|