我的Websocket学习使用总结

主要参考了这篇文章:http://www.javashuo.com/article/p-hawbvwxo-bv.htmljavascript 1.客户端html var websocket = null; var host = document.location.host; var userid = "${user.id}"; // 得到当前登陆人员的id //判断当前浏览器是否支持WebSock
相关文章
相关标签/搜索