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
    • Libraries: If you want this course, consider one of these libraries.
    • Core Tech

Developer Reference: WebSocket Support in Bun

Jump right in with WebSockets! Learn to upgrade an HTTP connection to WebSockets, configure Bun's supporting systems, customize each client socket, and utilize publications and subscriptions.

Ian Marshall - Pluralsight course - Developer Reference: WebSocket Support in Bun
Ian Marshall
What you'll learn

Bun comes packaged with WebSockets and a WebSocket server. In this course, Developer Reference: WebSocket Support in Bun, you'll learn to upgrade an HTTP connection to WebSockets. First, you'll explore configuring Bun's automated support systems, such as message compression. Then, you'll discover how to customize individual client sockets, add data, send and receive messages, and publish/subscribe to custom topics. When you're finished with this course, you'll know everything you need to quickly implement WebSockets on a Bun application.

Table of contents

About the author
Ian Marshall - Pluralsight course - Developer Reference: WebSocket Support in Bun
Ian Marshall

Web dev and educator since last millennium, Ian has created technical training content for Pluralsight, Google, and thousands of private clients.

Get access now

Sign up to get immediate access to this course plus thousands more you can watch anytime, anywhere.

Get started with Pluralsight