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

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

主站蜘蛛池模板: 绿春县| 盐亭县| 武川县| 延长县| 汉中市| 龙南县| 鸡西市| 廊坊市| 高雄县| 衡阳市| 家居| 定边县| 无锡市| 青铜峡市| 阳山县| 彭阳县| 马边| 罗山县| 屏山县| 曲周县| 金溪县| 梓潼县| 澄迈县| 隆尧县| 昌黎县| 白山市| 金川县| 白河县| 礼泉县| 略阳县| 桦川县| 全南县| 阜阳市| 鱼台县| 崇阳县| 平武县| 吴江市| 拜城县| 淳化县| 颍上县| 内丘县|