官术网_书友最值得收藏!

  • 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.

主站蜘蛛池模板: 横山县| 杭州市| 灌云县| 玉山县| 江油市| 金沙县| 青神县| 班玛县| 全州县| 博野县| 伊通| 鹿邑县| 滨海县| 陕西省| 外汇| 余姚市| 封丘县| 沂南县| 瓦房店市| 四平市| 登封市| 梅河口市| 霍城县| 东兴市| 黎川县| 凌源市| 自治县| 霍邱县| 翁牛特旗| 河曲县| 惠来县| 绍兴县| 大足县| 新民市| 麻城市| 天柱县| 玉溪市| 沙田区| 融水| 丹阳市| 孟津县|