aboutsummaryrefslogtreecommitdiffhomepage
path: root/assets/php/vendor/ratchet/rfc6455/src/Messaging/MessageInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'assets/php/vendor/ratchet/rfc6455/src/Messaging/MessageInterface.php')
-rw-r--r--assets/php/vendor/ratchet/rfc6455/src/Messaging/MessageInterface.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/assets/php/vendor/ratchet/rfc6455/src/Messaging/MessageInterface.php b/assets/php/vendor/ratchet/rfc6455/src/Messaging/MessageInterface.php
new file mode 100644
index 0000000..fd7212e
--- /dev/null
+++ b/assets/php/vendor/ratchet/rfc6455/src/Messaging/MessageInterface.php
@@ -0,0 +1,20 @@
+<?php
+namespace Ratchet\RFC6455\Messaging;
+
+interface MessageInterface extends DataInterface, \Traversable, \Countable {
+ /**
+ * @param FrameInterface $fragment
+ * @return MessageInterface
+ */
+ function addFrame(FrameInterface $fragment);
+
+ /**
+ * @return int
+ */
+ function getOpcode();
+
+ /**
+ * @return bool
+ */
+ function isBinary();
+}