- 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.
- Web Scraping with Python
- Java:Data Science Made Easy
- Python數(shù)據(jù)分析(第2版)
- Scala編程實戰(zhàn)(原書第2版)
- 劍指大數(shù)據(jù):企業(yè)級數(shù)據(jù)倉庫項目實戰(zhàn)(在線教育版)
- Java 從入門到項目實踐(超值版)
- 人人都能開發(fā)RPA機器人:UiPath從入門到實戰(zhàn)
- 征服C指針(第2版)
- C/C++代碼調(diào)試的藝術(shù)(第2版)
- Java RESTful Web Service實戰(zhàn)
- Getting Started with Windows Server Security
- 計算機常用算法與程序設(shè)計教程(第2版)
- Learning Google Apps Script
- 接口自動化測試持續(xù)集成:Postman+Newman+Git+Jenkins+釘釘
- 深入解析Java虛擬機HotSpot