What is the page refresh mechanism for javascript message push?
曾经蜡笔没有小新
曾经蜡笔没有小新 2017-05-24 11:34:25
0
2
412

If a long socket connection is used for message push, is a connection established after each page is opened? Is there anyone who can give me the answer

曾经蜡笔没有小新
曾经蜡笔没有小新

reply all(2)
Ty80

Purposesocket.io
你打开网页的时候用dev-tools就可以看到网络中有类似这样的请求
wss://segmentfault.com:7001/socket.io/?EIO=3&transport=websocket&sid=8r6PgQTb-KLvxevHDkEp

伊谢尔伦

https://socket.io/

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!