$curl
$curl : Object
A reference to the cURL wrapper we're using
CurlHTTP Client
This class is used internally by the main client library for performing HTTP requests using cURl. This HTTP client may be swapped out for another by passing a third argument to the library constructor.
__construct(\Communique\Curl $curl = null)
Constructs the Curl HTTP adapter
\Communique\Curl | $curl | A cURL object wrapper |
request(\Communique\RESTClientRequest $request) : \Communique\RESTClientResponse
Make an HTTP request
\Communique\RESTClientRequest | $request | Request object |
This is thrown if cURL is unable to connect (this could be because the server is not available or the DNS record is not resolvable)
REST SSL exception. This is thrown for things such as SSL certificate errors or SSL handshake errors.
$response Response object