The code to run the poll is found in the zip file.
运行投票的代码在zip文件中。
This code simply starts the long poll when the user clicks the Go button.
该代码只是在用户单击Go按钮时开始长轮询。
It is the responsibility of our Ajax code to check for 304 status, and if found, simply not to change client application state based on the (absence of) data sent from the poll.
我们需要使用Ajax代码检查304状态,如果存在的话,那么也不要根据轮询发送的数据修改客户机应用程序状态。
应用推荐