元数据
Data Push Apps with HTML5 SSE
- 书名: Data Push Apps with HTML5 SSE
- 作者: Darren Cook
- 简介:
- 出版时间
- ISBN:
- 分类:
- 出版社: O’Reilly Media, Inc.
- PC地址:https://weread.qq.com/web/reader/06242753643425f465078316446316451334c67366f4f366f6f305569364c79edc
高亮划线
1. All About SSE…And Then Some
📌 By the way, you will sometimes see SSE referred to as EventSource, because that is the name of the related object in JavaScript. I will call it SSE everywhere in this book, and I will only use EventSource to refer to the JavaScript object. ⏱ 2024-05-21 20:19:34
📌 This two-way communication is usually a perfect match for WebSockets (which we will take a proper look at in a moment), but it does not mean it is not also a good fit for SSE. The way you handle the second part, posting your messages, is with a good old-fashioned Ajax request. ⏱ 2024-05-21 20:21:25
2. Super Simple Easy SSE
📌 Let’s not get drawn into language wars. All languages suck until you are used to them. Then they just suck in ways you know how to deal with. ⏱ 2024-06-05 10:39:18