Featured resource
2026 Tech Forecast
2026 Tech Forecast

Stay ahead of what’s next in tech with predictions from 1,500+ business leaders, insiders, and Pluralsight Authors.

Get these insights
  • 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.

Intermediate
24m

Created by Jon Friskics

Last Updated Sep 17, 2025

Course Thumbnail
  • 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.

Intermediate
24m

Created by Jon Friskics

Last Updated Sep 17, 2025

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.

Real-time Communication with WebSockets
Intermediate
24m
Table of contents

About the author
Jon Friskics - Pluralsight course - Real-time Communication with WebSockets
Jon Friskics
29 courses 4.6 author rating 131 ratings

Jon is an author, developer, and Pluralsight team member via codeschool.com. Lately, he's been working on content and products that help authors create content efficiently. Prior to that, he worked for several years on interactive learning at Code School, and later helped bring that to Pluralsight as Interactive Content.

Get started with Pluralsight