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.
我正在使用 primus-android ( https://github.com/cine-io/primus-android ) 与套接字通信。在库中,我正在获取字符串数据。但我无法在我的 java 文件中得到它。
不是像Github文件文档中提到的那样调用datacallback,而是使用WebSocket回调,访问字符串可用函数,这将导致访问套接字中的数据。