如何使用WebSockets-JavaScript教程



在今天的视频中,我将带您了解创建WebSockets应用程序的基础知识-我们将介绍客户端和服务器端,以便在两者之间发送消息。

WebSocket允许Web浏览器和后端WebSockets服务器之间的事件驱动双向通信。

在Patreon上支持我:
https://www.patreon.com/dcode-我打算用足够的资金来开发具有新开发人员经验的某种网站!

供您参考,请查看以下内容:
https://developer.mozilla.org/zh-CN/docs/Web/API/WebSockets_API/Writing_WebSocket_client_applications

在Twitter @dcodeyt上关注我!

如果该视频对您有所帮助,并且您想了解更多,请确保点赞并订阅dcode!

#dcode #javascript #websockets

13 comments
  1. Maybe you could make a video about websockets without any external modules, it took me almost a month because the only guide that can be found is a documentation that explains how it works.
    By making a video about it i'm pretty sure you could get a much bigger channel because i've seen how many people are trying to do this but can't

Comments are closed.