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