说明:Dimagine WebSocket
本地运行
运行服务器: php -S localhost:8081 -t public
运行聊天: php bin/chat-server.php
运行ngrok: ngrok http 8080
指令
要发送消息: {"command":"message","message":"testMessage"}
要创建或输入房间: {"command":"subscribe","channel":"nomDelaRoom"}
退出房间: {"comman
<weixin_42116794> 上传 | 大小:61kb