Cross-browser implementation of “HTTP Streaming” (push) AJAX pattern

前端 未结 2 1008
有刺的猬
有刺的猬 2020-12-04 20:31

Client request web page from server. Clent then requests for extra calculations to be done; server performs series of calculations and sends partial results as soon as they

2条回答
  •  一生所求
    2020-12-04 20:49

    I would take a look at orbited

    They use several comet transport implementation that they choose based on configuration and browser sniffing.

    See http://orbited.org/svn/orbited/trunk/daemon/orbited/static/Orbited.js

    and look for "Orbited.CometTransports"

    Some of the different transports must be matched by the backend implementation, so have a look at the server side for orbited also.

提交回复
热议问题