阅读背景:

使用Node,Express,(和Socket.io?)每1秒更新一次页面

来源:互联网 

I am a bit new to Node.js and Express, and am currently working on a page where I would like to generate and send messages (from the server) to the client page every 1 second (1250ms, actually). When a user visits the site, I would like the latest message to be broadcasted, with new messages coming in every second after. In other words, every user would see the same message at the same time on the web page, regardless of when they connected to the server.I am a bit new to Node.js and Express, and am c




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: