A Complete Guide to WebSockets

Build, Scale and Secure Vanilla WebSockets

WebSockets technology is a bidirectional, full-duplex protocol for communication between client and server over the web. It has been standardized in 2011 and it’s fully compatible with HTTP.  This protocol enables realtime applications such as chatting, notifications, live feed, multiplayer gaming, and other use cases.

What you’ll learn

  • WebSockets Protocol.
  • How to Scale WebSockets Connections.
  • How to Secure WebSockets with wss://.
  • Building a MultiPlayer game with WebSockets.
  • How WebSockets Work in the Wire.
  • How WebSockets works with HTTP/2.

Course Content

  • Introduction to HTTP –> 5 lectures • 2hr 30min.
  • Introduction to WebSockets –> 7 lectures • 45min.
  • Scaling WebSockets –> 2 lectures • 21min.
  • Building Multi-player Games with WebSockets –> 13 lectures • 1hr 46min.
  • Advanced WebSockets –> 3 lectures • 42min.

A Complete Guide to WebSockets

Requirements

  • Be able to understand basic HTTP.

WebSockets technology is a bidirectional, full-duplex protocol for communication between client and server over the web. It has been standardized in 2011 and it’s fully compatible with HTTP.  This protocol enables realtime applications such as chatting, notifications, live feed, multiplayer gaming, and other use cases.

 

In this course, you will learn what the WebSocket protocol is and why it was invented. You learn the pros and cons of WebSockets and when to use it. You will also learn how to horizontally scale and secure WebSockets in your applications and be able to build a real-time multiplayer game and chatting application. This course also has a special section that discusses advanced WebSockets topics such as HTTP/2 and how the protocol looks in Wireshark.

Get Tutorial