简体   繁体   中英

What is server push and client push in gwt?

什么是服务器推送,客户端推送。服务器推送和客户端推送以及服务器轮询与服务器推送之间有什么区别。

These are all technologies for streaming data to the browser:

  • server push is where you use a first-class streaming technology such as Server Sent Events, or WebSockets
  • client push is not a real thing (to the best of my knowledge)
  • server polling is where you are unable to use WebSockets, so the client code repeatedly polls the server for new data
  • server pushing is the same as server push!

I'd recommend that you spent time reading about WebSockets and Comet.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM