服务器推送

  1. Ajax轮询(定时器隔一断时间,询问服务器)
  2. Ajax长连接(Comet)
  3. websocket
  4. SSE(server sent events)
原文地址:https://www.cnblogs.com/hcjs/p/14364243.html