Packt
WebSockets Protocol Explained – Master Web Development

通过 Coursera Plus 解锁访问 10,000 多门课程。开始 7 天免费试用

Packt

WebSockets Protocol Explained – Master Web Development

包含在 Coursera Plus

深入了解一个主题并学习基础知识。
中级 等级

推荐体验

1 周 完成
在 10 小时 一周
灵活的计划
自行安排学习进度
深入了解一个主题并学习基础知识。
中级 等级

推荐体验

1 周 完成
在 10 小时 一周
灵活的计划
自行安排学习进度

您将学到什么

  • Learn how to establish and manage WebSocket connections in real-time applications.

  • Understand the WebSocket handshake, headers, and security measures like Sec-WebSocket-Key.

  • Gain hands-on experience with the WebSocket API to build interactive, event-driven web apps.

  • Explore WebSocket data frames, including control frames, masking, and efficient payload handling.

要了解的详细信息

可分享的证书

添加到您的领英档案

作业

8 项作业

授课语言:英语(English)

了解顶级公司的员工如何掌握热门技能

Petrobras, TATA, Danone, Capgemini, P&G 和 L'Oreal 的徽标

该课程共有7个模块

In this module, we will introduce WebSockets as a modern communication protocol designed for real-time, two-way communication. We will also explore the foundational concepts of the internet, HTTP, and the evolution of WebSockets. Finally, we will cover the protocol’s history, specifications, and key use cases.

涵盖的内容

14个视频1篇阅读材料1个作业

In this module, we will dive into the networking fundamentals that WebSockets rely on, including TCP/IP layers and the TCP handshake. We will explore the network layer's structure, port handling, and the importance of IP addresses and MAC addresses. Additionally, we will compare traditional socket communication with WebSocket technology.

涵盖的内容

12个视频1个作业

In this module, we will walk you through the process of opening a WebSocket connection, including the HTTP handshake and WebSocket-specific headers. You will gain hands-on experience with Base64 encoding, learn about key headers like Sec-WebSocket-Key, and explore how WebSocket is event-driven to support real-time communication.

涵盖的内容

18个视频1个作业

In this module, we will teach you how to leverage the WebSocket API to build interactive real-time web applications. You’ll learn to establish connections, handle events, and send and receive messages through WebSockets. We will also implement error handling and status updates to ensure a seamless user experience in your project.

涵盖的内容

35个视频1个作业

In this module, we will focus on the structure of WebSocket data frames and their role in communication. We’ll cover the different frame types, including control and non-control frames, and explore security features like masking. Additionally, we’ll delve into data fragmentation and payload sizes to better understand how WebSockets handle large volumes of data.

涵盖的内容

21个视频1个作业

In this module, we will explore the alternatives to WebSockets, including AJAX, short and long polling, and Server-Sent Events (SSE). You’ll also learn about CORS security mechanisms, the challenges of using WebSockets over different HTTP versions, and the best practices for scaling WebSocket connections to support high-demand environments.

涵盖的内容

9个视频1个作业

In this final module, we will recap all the core concepts covered in the course. We’ll review the practical applications of WebSockets, emphasizing how they can be used to build real-time, scalable, and interactive web applications. This is your opportunity to solidify your understanding and prepare for implementing WebSockets in future projects.

涵盖的内容

1个视频2个作业

位教师

Packt - Course Instructors
Packt
1,186 门课程291,155 名学生

提供方

Packt

从 Networking 浏览更多内容

人们为什么选择 Coursera 来帮助自己实现职业发展

Felipe M.
自 2018开始学习的学生
''能够按照自己的速度和节奏学习课程是一次很棒的经历。只要符合自己的时间表和心情,我就可以学习。'
Jennifer J.
自 2020开始学习的学生
''我直接将从课程中学到的概念和技能应用到一个令人兴奋的新工作项目中。'
Larry W.
自 2021开始学习的学生
''如果我的大学不提供我需要的主题课程,Coursera 便是最好的去处之一。'
Chaitanya A.
''学习不仅仅是在工作中做的更好:它远不止于此。Coursera 让我无限制地学习。'
Coursera Plus

通过 Coursera Plus 开启新生涯

无限制访问 10,000+ 世界一流的课程、实践项目和就业就绪证书课程 - 所有这些都包含在您的订阅中

通过在线学位推动您的职业生涯

获取世界一流大学的学位 - 100% 在线

加入超过 3400 家选择 Coursera for Business 的全球公司

提升员工的技能,使其在数字经济中脱颖而出

常见问题