summaryrefslogtreecommitdiffstats
path: root/library/vendor/iplx/Http/Handle.php
diff options
context:
space:
mode:
Diffstat (limited to 'library/vendor/iplx/Http/Handle.php')
-rw-r--r--library/vendor/iplx/Http/Handle.php32
1 files changed, 32 insertions, 0 deletions
diff --git a/library/vendor/iplx/Http/Handle.php b/library/vendor/iplx/Http/Handle.php
new file mode 100644
index 0000000..490b5c5
--- /dev/null
+++ b/library/vendor/iplx/Http/Handle.php
@@ -0,0 +1,32 @@
+<?php
+
+namespace iplx\Http;
+
+use Psr\Http\Message\StreamInterface;
+
+/**
+ * Internal cURL handle representation
+ */
+class Handle
+{
+ /**
+ * cURL handle
+ *
+ * @var resource
+ */
+ public $handle;
+
+ /**
+ * Response body
+ *
+ * @var StreamInterface
+ */
+ public $responseBody;
+
+ /**
+ * Received response headers
+ *
+ * @var array
+ */
+ public $responseHeaders = [];
+}