From 5409b28c48260fe92eba43f689af034a98f238f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BD=A6=E4=B9=85=E9=BE=99?= Date: Tue, 7 Mar 2023 18:33:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E5=8C=96=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 205f6de..440c5c3 100644 --- a/README.md +++ b/README.md @@ -13,12 +13,13 @@ PHP WebSocket 指令与签名demo sign_message.php -MacOS 调试WebSocket方法 +MacOS 终端调试WebSocket方法 安装node:brew install node 安装wscat:npm install -g wscat 使用wscat链接WebSocket:wscat -c ws://localhost:8080/ws - 发送消息给服务器: + + 发送消息给服务器(不要换行,一行输入): ```json { "TaskData":{