Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
现在我正在开发使用 WEB SOCKET 将数据从服务器发送到客户端的应用程序。但是我应该如何区分 onMessage() 事件以接受来自 Server.Anyway 的不同数据来做到这一点?