This code simply starts the long poll when the user clicks the Go button.
该代码只是在用户单击Go按钮时开始长轮询。
Streaming channel is almost the same as long poll; the difference being that the server does not close the response stream.
流通道(streamingchannel)与长轮询大致相同,差别在于服务器不会关闭响应流。
The advantage of a long poll over normal polling is that data goes from the server to the client as soon as it is available.
长轮询相对于一般轮询的优点在于,数据一旦可用,便立即从服务器发送到客户机。
A long poll generally keeps the connection open for a long time-usually several seconds, but it could be a minute or longer.
长轮询通常将连接保持一段较长的时间—通常是数秒钟,但是也可能是一分钟甚至更长。
The second model is called a long poll: this article discusses this polling model-because it allows the quickest response to events on the server-as well as some hurdles to overcome.
第二个模型称为长轮询:本文将讨论这一轮询模型—因为它以最快的速度响应服务器上的事件—以及一些需要克服的困难。
The second model is called a long poll: this article discusses this polling model-because it allows the quickest response to events on the server-as well as some hurdles to overcome.
第二个模型称为长轮询:本文将讨论这一轮询模型—因为它以最快的速度响应服务器上的事件—以及一些需要克服的困难。
应用推荐