Chapter 4. Data Transfer – Sending, Receiving, and Decoding
Modern web development is all about content. No matter what kind of application you are building, users will stop using it unless they get what they want. In the old days of the web, the content someone could publish on his/her website was extremely limited. Nowadays, content is a lot more than static text and images; you can exchange messages, watch videos, download programs, and much more. As a web developer, you should be able to deliver the desired content in a fast and efficient way. The WebSocket protocol supports a variety of transferable data, taking the burden to speed the whole process as much as possible.
In this chapter's demo, you are going to handle image and video data via WebSockets. Let's start!