1: <?php
2:
3: namespace OpenCloud\Common\Request;
4:
5: /**
6: * The HttpRequest interface defines methods for wrapping CURL; this allows
7: * those methods to be stubbed out for unit testing, thus allowing us to
8: * test without actually making live calls.
9: */
10: interface HttpRequestInterface
11: {
12:
13: public function SetOption($name, $value);
14:
15: public function setheaders($arr);
16:
17: public function SetHeader($header, $value);
18:
19: public function Execute();
20:
21: public function close();
22:
23: }
24: