June 2022
Intermediate to advanced
410 pages
5h 8m
English
This chapter demonstrates how to use WebSockets—a technology that makes it possible to open a two-way, interactive communication channel between a browser and a server. In the past, this was difficult to achieve on most platforms, and often required a third-party service. Node.js makes it easy, although we’ll delve into some deeper challenges.
It’s possible to become a respected senior developer without touching WebSockets! You can skip this chapter, but the technology opens a world of opportunities you may not have considered before.
The web is a request–response communication platform. Your browser requests a web page and receives HTML as the response from a web server. The ...
Read now
Unlock full access