O'Reilly logo

Getting Started with HTML5 WebSocket Programming by Vangos Pterneas

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required