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.
Opa 是使用 AJAX 还是 Websockets?我猜应该是前者。如果我想使用 websockets 而不是 AJAX 怎么办?或者它类似于 Javascript 的socket.io - 如果浏览器支持 Websockets,它会使用它们,否则它会回退到 AJAX 和 Flash 套接字。
OPA 目前不支持 websocket。
但这是我们再次考虑的问题,因为 firefox 6 恢复了对 websockets 的支持,并且针对之前的重大安全问题提出了修复建议。
Opa 目前正在使用 AJAX。
此外,由于安全原因,目前(浏览器)很少支持 think websocket。RFC 仍处于草案阶段。
Opa 服务器暂时不支持 websocket 协议。