Persistent connection with client

后端 未结 5 1426
轻奢々
轻奢々 2021-02-08 06:10

Is there a general way to implement part of an application with JavaScript and supplying a persistent connection to a server? I need the server to be able to push data to the cl

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-08 06:38

    Here are a few questions in a similar vein. And of course all the questions tagged comet

    • Implementing a self resetting XMLHttpRequest object
    • Server-side Push in Rails
    • Is there an alternative of ajax that does not require polling without server side modifications?
    • Long-lived connections (asynchronous server push) with Apache/PHP/Javascript?

提交回复
热议问题