How does in-browser chat work?

前端 未结 6 751
攒了一身酷
攒了一身酷 2020-12-24 06:53

Just curious. How exactly does chatting in a browser work? Usually if a user goes to a web page, his/her webbrowser requests the page content. A server produces output and s

6条回答
  •  青春惊慌失措
    2020-12-24 07:30

    Modern chat applications use SSE's (Server Sent Events: a feature of html5) to send new messages to browsers

提交回复
热议问题