Thus this implements a long poll.
这样就实现了长轮询。
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.
流通道(streaming channel)与长轮询大致相同,差别在于服务器不会关闭响应流。
应用推荐