摘要: Javascript网络编程常用的两种方式 短连接xmlhttprequest 长连接websocket 都需要考虑安全性 以下总结两个项目中所使用的相关技术 传输类型 xmlhttprequest xmlhttprequest.responseType "text"(默认) "json"(对象) 阅读全文