我的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
相關文章
相關標籤/搜索