- Course
Real-time Communication with WebSockets
This course will teach you how to use the WebSockets protocol to message data in web applications between clients and servers with real-time, persistent connections.
- Course
Real-time Communication with WebSockets
This course will teach you how to use the WebSockets protocol to message data in web applications between clients and servers with real-time, persistent connections.
Get started today
Access this course and other top-rated tech content with one of our business plans.
Try this course for free
Access this course and other top-rated tech content with one of our individual plans.
This course is included in the libraries shown below:
- Core Tech
What you'll learn
Unlike HTTP connections, WebSockets allow you to maintain persistent connections between a client and server to message data in real-time.
In this course, Real-time Communication with WebSockets, you'll learn how to use the WebSockets protocol to message data in web applications. First, you’ll explore the differences between the HTTP and WebSockets protocols. Next, you’ll learn how to create a basic WebSocket client and server using the ws package and browser APIs. Finally, you’ll see an example of building a scoreboard application that uses WebSockets to update scores in real-time. When you’re finished with this course, you’ll have the skills and knowledge of WebSockets needed to create persistent, real-time features in your web applications.