WebSocket: Lightweight Client-Server Communications
WebSocket: Lightweight Client-Server Communications

WebSocket: Lightweight Client-Server Communications

2015年9月26日 出版

HTML5 WebSockets offer app developers a much smaller and more efficient way of communicating than classic HTTP for smoother, faster, and full-duplex communication with the server. With this practical book, you’ll learn how to take advantage of WebSockets power, from the basics of getting started to the complexities of managing rich communications channels.

You’ll work through several examples, each teaching an aspect of using and scaling WebSockets in production. This book focuses on the client side with JavaScript, but explains and demonstrates the server side (in Node.js) as well. You’ll also touch on some of the compatibility frameworks like Socket.IO, which allows you to use WebSockets today, even if some of your target clients don’t support it.