Is Http Streaming Comet possible in Safari?

前端 未结 4 442
自闭症患者
自闭症患者 2020-12-31 12:52

By HTTP Streaming Comet, I mean the \"forever iframe\" / \"forever xhr\" variations that don\'t close the connection after data has been pushed from the server, as opposed t

4条回答
  •  一整个雨季
    2020-12-31 13:42

    According to Wikipedia, HTTP Streaming comet is supposed to be possible in every browser. "Page Layout with Frames that Aren't", Ajax: The Definitive Guide. O'Reilly Media, pp. 320. ISBN 0596528388, is the reference that is quoted for this information, so maybe this book has a suggestion on how to do this.

    Also http://meteorserver.org/ has a demo which I just confirmed works in Chrome, of a client side library + a server which pushes data to the client.

提交回复
热议问题