This topic created in 556 days ago, the information mentioned may be changed or developed.
我发现我只要是开着页面,有人回复就会有显示!
好像我关了页面,只要是输入网址还没回车 也会看到有新回复
这是如何实现的?好像没看到接口请求之类的心跳包
3 replies • 2025-05-16 23:03:10 +08:00
 |
|
通常解决方案就 2 种,ws 和轮询了,这里应该不会用 ws 。
|
 |
|
还有可能是 sse
|
 |
|
ResponseHeader:X-V2EX-New-Notification-Bottom
|