Просмотр исходного кода

Wesmiler OTC 提交更新 0729

APPLE 3 лет назад
Родитель
Сommit
ec005b2b41
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      app/Console/Commands/Socket.php

+ 2 - 1
app/Console/Commands/Socket.php

@@ -97,7 +97,8 @@ class Socket extends Command
     public function message($ws, $frame)
     {
 //        try{
-
+        $this->ws->push($frame->fd, 'pong');
+        return false;
             var_dump($frame->data);
             if ($frame->data == 'ping') {
                 $this->ws->push($frame->fd, 'pong');