hprose-html5
hprose-html5 copied to clipboard
Hprose is a cross-language RPC. This project is Hprose 2.0 Client for HTML5
用谷歌浏览器调试,出现错误TCP Socket is not supported by this browser or platform `var client = new hprose.TcpClient("tcp://xxx.xxx.xxx.xxx:1314", ["hello"]); client.subscribe('news', function(news) { alert(news); });` 如果不能用谷歌浏览器用什么调试
I see this in Chome devtool >> Network:  Client script: ```html !function () { var url = 'ws://127.0.0.1:2080/hello', subscriber = new hprose.WebSocketClient(url); subscriber.subscribe('push', function () { console.log(arguments); }); }();...
请问为什么不用es6来写代码呢?考虑到什么因素呢?