Books & Videos

Table of Contents

  1. Chapter 1 Quick Start

    1. Getting Node and npm

    2. Hello, World! Example

    3. Why WebSocket?

    4. Summary

  2. Chapter 2 WebSocket API

    1. Initializing

    2. Stock Example UI

    3. WebSocket Events

    4. WebSocket Methods

    5. WebSocket Attributes

    6. Stock Example Server

    7. Testing for WebSocket Support

    8. Summary

  3. Chapter 3 Bidirectional Chat

    1. Long Polling

    2. Writing a Basic Chat Application

    3. WebSocket Client

    4. Client Identity

    5. Events and Notifications

    6. The Server

    7. The Client

    8. Summary

  4. Chapter 4 STOMP over WebSocket

    1. Implementing STOMP

    2. Setting Up RabbitMQ

    3. Connecting the Server to RabbitMQ

    4. Processing STOMP Requests

    5. Client

    6. Using RabbitMQ with Web-Stomp

    7. Summary

  5. Chapter 5 WebSocket Compatibility

    1. SockJS

    2. Socket.IO

    3. Pusher.com

    4. Reverse Proxy

    5. Summary

  6. Chapter 6 WebSocket Security

    1. TLS and WebSocket

    2. Origin-Based Security Model

    3. Denial of Service

    4. Frame Masking

    5. Validating Clients

    6. Summary

  7. Chapter 7 Debugging and Tools

    1. The Handshake

    2. WebSocket Secure to the Rescue

    3. Validating the Handshake

    4. Inspecting Frames

    5. Closing Connection

    6. Summary

  8. Chapter 8 WebSocket Protocol

    1. HTTP 0.9—The Web Is Born

    2. HTTP 1.0 and 1.1

    3. WebSocket Open Handshake

    4. WebSocket Frame

    5. WebSocket Close Handshake

    6. WebSocket Subprotocols

    7. WebSocket Extensions

    8. Alternate Server Implementations

    9. Summary