summaryrefslogtreecommitdiff
path: root/src/PongMessage.php
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2021-03-01 02:03:07 +0300
committerEvgeny Zinoviev <me@ch1p.io>2021-03-01 02:03:07 +0300
commit7b44cbe272e6adf24109a9232a48008a8818f318 (patch)
tree7725bca8517082fe79fe31af1edfca95dfc76987 /src/PongMessage.php
parentc66fc2f691424023b107dfee1295fa165b223f86 (diff)
support new protocol
Diffstat (limited to 'src/PongMessage.php')
-rw-r--r--src/PongMessage.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/PongMessage.php b/src/PongMessage.php
new file mode 100644
index 0000000..dc7af33
--- /dev/null
+++ b/src/PongMessage.php
@@ -0,0 +1,15 @@
+<?php
+
+namespace jobd;
+
+class PongMessage extends Message {
+
+ public function __construct() {
+ parent::__construct(Message::PING);
+ }
+
+ protected function getContent(): array {
+ return [];
+ }
+
+} \ No newline at end of file