June 2022
Intermediate to advanced
410 pages
5h 8m
English
Chapter 11 introduced WebSockets, which establish a two-way interactive communication channel between a client browser and server.
Our quiz application starts three WebSocket servers, and there’s no limit to the number of servers that could be started. However:
Messages sent to and from the WebSocket server are typically simple strings, but we have the added challenge of coordinating messages across all servers!
The client-side JavaScript at web/static/js/main.js initiates a connection ...
Read now
Unlock full access