Namespace OpenCloud\Common\Request
OpenCloud\Common\Request\Response |
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. |
HttpRequestInterface | The HttpRequest interface defines methods for wrapping CURL; this allows those methods to be stubbed out for unit testing, thus allowing us to test without actually making live calls. |