开发者

why is it called longpolling

开发者 https://www.devze.com 2023-03-26 06:24 出处:网络
I\'ve read and done (for my self) How do 开发者_如何学运维I implement basic "Long Polling"?

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

精彩评论

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