- Socket.IO Cookbook
- Tyson Cadenhead
- 238字
- 2021-07-09 21:49:08
What this book covers
Chapter 1, Wiring It Up, provides a quick introduction to Socket.IO. It tells you how to get up and running with a Node server. This chapter concludes with debugging tips for the server and the client.
Chapter 2, Creating Real-Time Dashboards, talks about how to stream data from the server to the client. It covers how to emit MongoDB data and how to handle Socket.IO connection timeouts.
Chapter 3, Having Two-Way Conversations, provides several recipes on how to build a two-way communication. From the quintessential chat room example to a fun recipe on how to create a real-time tic-tac-toe game, it includes several other topics.
Chapter 4, Building a Room with a View, explores views and namespaces and how they can be used to target your events to specific consumers.
Chapter 5, Securing Your Data, takes a look at how to secure the Socket.IO communication with various forms of authentication, including how to lock down the HTTP referrer and how to use secure web sockets.
Chapter 6, Performing a Load Balancing Act, covers various techniques for load-balancing Socket.IO, focusing on technologies such as Redis, Memcached, and RabbitMQ.
Chapter 7, Streaming Binary Data, explores topics ranging from emitting images as data to streaming video and audio.
Chapter 8, Integrating With Mobile Applications, talks about various techniques for using Socket.IO in mobile applications. It also provides a recipe for how to trigger hot deploys from Socket.IO.
- 精通Scrapy網絡爬蟲
- 零基礎入門學習Python
- 區塊鏈技術與應用
- 蘋果的產品設計之道:創建優秀產品、服務和用戶體驗的七個原則
- Building Microservices with .NET Core
- HTML+CSS+JavaScript網頁設計從入門到精通 (清華社"視頻大講堂"大系·網絡開發視頻大講堂)
- 寫給大家看的Midjourney設計書
- 零基礎學HTML+CSS第2版
- 深入淺出Python數據分析
- 實驗編程:PsychoPy從入門到精通
- Raspberry Pi開發實戰
- Cinder:Begin Creative Coding
- 情境微課開發(第2版)
- Spring Microservices
- 匯編語言程序設計