服务器发送事件-AJAX和WebSockets的替代方法



了解何时以及如何将服务器发送事件与NodeJS一起使用。重要的是要知道SSE可以替代AJAX和Websocket,但是仅在正确的用例中应用它们非常重要。

3 comments
  1. The problem is most hosts do not allow them. If you try to implement one in some way a lot of times they will kick you off because they are resource intensive. getting a host that will support them is expensive.

Comments are closed.