From 2c6dccbd54cd144d685b4fa246601ce9f4ba8996 Mon Sep 17 00:00:00 2001 From: AuroraYolo <847050412@qq.com> Date: Sat, 5 Aug 2023 00:38:01 +0800 Subject: [PATCH] Add 'route' case to WebSocketDebugger In the switch statement of the WebSocketDebugger class, an additional case for 'route' was added. This case currently does nothing (break;) and can be extended in the future. The reason for this addition is to prepare the WebSocketDebugger to handle routing cases as we evolved the system to support new WebSocket features. --- cloud-admin/SDB/WebSocketDebugger.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cloud-admin/SDB/WebSocketDebugger.php b/cloud-admin/SDB/WebSocketDebugger.php index 4fba2ff..bfa513d 100644 --- a/cloud-admin/SDB/WebSocketDebugger.php +++ b/cloud-admin/SDB/WebSocketDebugger.php @@ -341,6 +341,8 @@ public function start(): void $property = $reflection->getProperty('configs'); $this->out(Json::encode($property->getValue($config))); break; + case 'route': + break; case null: break; default: