开发者

why is it called longpolling

I've read and done (for my self) How do 开发者_如何学运维I implement basic "Long Polling"?

But why is this called "long-polling", It just polls when it's done on both success and error.


A normal poll asks once in a very quick back and forth between client and server.

A long poll is kept open and idle for a long time, possibly sending data several times while the connection is open. Hence long polling.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜