WebSocket Front Cover

WebSocket

  • Length: 140 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2015-10-25
  • ISBN-10: 1449369278
  • ISBN-13: 9781449369279
  • Sales Rank: #139598 (See Top 100 Books)
Description

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.

  • Move from “classic” HTTP requests to smaller, more nimble WebSockets
  • Explores how WebSockets affect scaling in larger applications
  • Learn how to use WebSockets with browsers that don’t support them natively
  • Discover how to keep WebSocket-based systems running even as tasks and environments change over time

Table of Contents

Chapter 1. Quickstart
Chapter 2. WebSocket API
Chapter 3. Bi-directional Chat
Chapter 4. STOMP over WebSocket
Chapter 5. WebSocket Compatibility
Chapter 6. WebSocket Security
Chapter 7. Debugging and Tools
Chapter 8. WebSocket Protocol

To access the link, solve the captcha.