| 1 | 1 |
deleted file mode 100644 |
| ... | ... |
@@ -1,21 +0,0 @@ |
| 1 |
-<?php |
|
| 2 |
- |
|
| 3 |
-namespace Telnyx\HttpClient; |
|
| 4 |
- |
|
| 5 |
-interface ClientInterface |
|
| 6 |
-{
|
|
| 7 |
- /** |
|
| 8 |
- * @param string $method The HTTP method being used |
|
| 9 |
- * @param string $absUrl The URL being requested, including domain and protocol |
|
| 10 |
- * @param array $headers Headers to be used in the request (full strings, not KV pairs) |
|
| 11 |
- * @param array $params KV pairs for parameters. Can be nested for arrays and hashes |
|
| 12 |
- * @param boolean $hasFile Whether or not $params references a file (via an @ prefix or |
|
| 13 |
- * CurlFile) |
|
| 14 |
- * |
|
| 15 |
- * @throws \Telnyx\Error\Api |
|
| 16 |
- * @throws \Telnyx\Error\ApiConnection |
|
| 17 |
- * @return array An array whose first element is raw request body, second |
|
| 18 |
- * element is HTTP status code and third array of HTTP headers. |
|
| 19 |
- */ |
|
| 20 |
- public function request($method, $absUrl, $headers, $params, $hasFile); |
|
| 21 |
-} |
| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,21 @@ |
| 1 |
+<?php |
|
| 2 |
+ |
|
| 3 |
+namespace Telnyx\HttpClient; |
|
| 4 |
+ |
|
| 5 |
+interface ClientInterface |
|
| 6 |
+{
|
|
| 7 |
+ /** |
|
| 8 |
+ * @param string $method The HTTP method being used |
|
| 9 |
+ * @param string $absUrl The URL being requested, including domain and protocol |
|
| 10 |
+ * @param array $headers Headers to be used in the request (full strings, not KV pairs) |
|
| 11 |
+ * @param array $params KV pairs for parameters. Can be nested for arrays and hashes |
|
| 12 |
+ * @param boolean $hasFile Whether or not $params references a file (via an @ prefix or |
|
| 13 |
+ * CurlFile) |
|
| 14 |
+ * |
|
| 15 |
+ * @throws \Telnyx\Error\Api |
|
| 16 |
+ * @throws \Telnyx\Error\ApiConnection |
|
| 17 |
+ * @return array An array whose first element is raw request body, second |
|
| 18 |
+ * element is HTTP status code and third array of HTTP headers. |
|
| 19 |
+ */ |
|
| 20 |
+ public function request($method, $absUrl, $headers, $params, $hasFile); |
|
| 21 |
+} |
| 1 | 1 |
deleted file mode 100644 |
| ... | ... |
@@ -1,21 +0,0 @@ |
| 1 |
-<?php |
|
| 2 |
- |
|
| 3 |
-namespace Telnyx\HttpClient; |
|
| 4 |
- |
|
| 5 |
-interface ClientInterface |
|
| 6 |
-{
|
|
| 7 |
- /** |
|
| 8 |
- * @param string $method The HTTP method being used |
|
| 9 |
- * @param string $absUrl The URL being requested, including domain and protocol |
|
| 10 |
- * @param array $headers Headers to be used in the request (full strings, not KV pairs) |
|
| 11 |
- * @param array $params KV pairs for parameters. Can be nested for arrays and hashes |
|
| 12 |
- * @param boolean $hasFile Whether or not $params references a file (via an @ prefix or |
|
| 13 |
- * CurlFile) |
|
| 14 |
- * |
|
| 15 |
- * @throws \Telnyx\Error\Api |
|
| 16 |
- * @throws \Telnyx\Error\ApiConnection |
|
| 17 |
- * @return array An array whose first element is raw request body, second |
|
| 18 |
- * element is HTTP status code and third array of HTTP headers. |
|
| 19 |
- */ |
|
| 20 |
- public function request($method, $absUrl, $headers, $params, $hasFile); |
|
| 21 |
-} |
| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,21 @@ |
| 1 |
+<?php |
|
| 2 |
+ |
|
| 3 |
+namespace Telnyx\HttpClient; |
|
| 4 |
+ |
|
| 5 |
+interface ClientInterface |
|
| 6 |
+{
|
|
| 7 |
+ /** |
|
| 8 |
+ * @param string $method The HTTP method being used |
|
| 9 |
+ * @param string $absUrl The URL being requested, including domain and protocol |
|
| 10 |
+ * @param array $headers Headers to be used in the request (full strings, not KV pairs) |
|
| 11 |
+ * @param array $params KV pairs for parameters. Can be nested for arrays and hashes |
|
| 12 |
+ * @param boolean $hasFile Whether or not $params references a file (via an @ prefix or |
|
| 13 |
+ * CurlFile) |
|
| 14 |
+ * |
|
| 15 |
+ * @throws \Telnyx\Error\Api |
|
| 16 |
+ * @throws \Telnyx\Error\ApiConnection |
|
| 17 |
+ * @return array An array whose first element is raw request body, second |
|
| 18 |
+ * element is HTTP status code and third array of HTTP headers. |
|
| 19 |
+ */ |
|
| 20 |
+ public function request($method, $absUrl, $headers, $params, $hasFile); |
|
| 21 |
+} |
| 1 | 1 |
deleted file mode 100644 |
| ... | ... |
@@ -1,21 +0,0 @@ |
| 1 |
-<?php |
|
| 2 |
- |
|
| 3 |
-namespace Telnyx\HttpClient; |
|
| 4 |
- |
|
| 5 |
-interface ClientInterface |
|
| 6 |
-{
|
|
| 7 |
- /** |
|
| 8 |
- * @param string $method The HTTP method being used |
|
| 9 |
- * @param string $absUrl The URL being requested, including domain and protocol |
|
| 10 |
- * @param array $headers Headers to be used in the request (full strings, not KV pairs) |
|
| 11 |
- * @param array $params KV pairs for parameters. Can be nested for arrays and hashes |
|
| 12 |
- * @param boolean $hasFile Whether or not $params references a file (via an @ prefix or |
|
| 13 |
- * CurlFile) |
|
| 14 |
- * |
|
| 15 |
- * @throws \Telnyx\Error\Api |
|
| 16 |
- * @throws \Telnyx\Error\ApiConnection |
|
| 17 |
- * @return array An array whose first element is raw request body, second |
|
| 18 |
- * element is HTTP status code and third array of HTTP headers. |
|
| 19 |
- */ |
|
| 20 |
- public function request($method, $absUrl, $headers, $params, $hasFile); |
|
| 21 |
-} |
| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,21 @@ |
| 1 |
+<?php |
|
| 2 |
+ |
|
| 3 |
+namespace Telnyx\HttpClient; |
|
| 4 |
+ |
|
| 5 |
+interface ClientInterface |
|
| 6 |
+{
|
|
| 7 |
+ /** |
|
| 8 |
+ * @param string $method The HTTP method being used |
|
| 9 |
+ * @param string $absUrl The URL being requested, including domain and protocol |
|
| 10 |
+ * @param array $headers Headers to be used in the request (full strings, not KV pairs) |
|
| 11 |
+ * @param array $params KV pairs for parameters. Can be nested for arrays and hashes |
|
| 12 |
+ * @param boolean $hasFile Whether or not $params references a file (via an @ prefix or |
|
| 13 |
+ * CurlFile) |
|
| 14 |
+ * |
|
| 15 |
+ * @throws \Telnyx\Error\Api |
|
| 16 |
+ * @throws \Telnyx\Error\ApiConnection |
|
| 17 |
+ * @return array An array whose first element is raw request body, second |
|
| 18 |
+ * element is HTTP status code and third array of HTTP headers. |
|
| 19 |
+ */ |
|
| 20 |
+ public function request($method, $absUrl, $headers, $params, $hasFile); |
|
| 21 |
+} |