diff options
Diffstat (limited to '_posts/2020-03-22-simple-sse-based-pubsub-server.md')
| -rw-r--r-- | _posts/2020-03-22-simple-sse-based-pubsub-server.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/_posts/2020-03-22-simple-sse-based-pubsub-server.md b/_posts/2020-03-22-simple-sse-based-pubsub-server.md index 23a3640..ffb7285 100644 --- a/_posts/2020-03-22-simple-sse-based-pubsub-server.md +++ b/_posts/2020-03-22-simple-sse-based-pubsub-server.md | |||
| @@ -39,7 +39,7 @@ simple. We have subscribers that receive messages, and we have publishers that | |||
| 39 | create and post messages. Similar model is also well know pattern that works on | 39 | create and post messages. Similar model is also well know pattern that works on |
| 40 | a premise of consumers and producers, and they take similar roles. | 40 | a premise of consumers and producers, and they take similar roles. |
| 41 | 41 | ||
| 42 |  | 42 | {:loading="lazy"} |
| 43 | 43 | ||
| 44 | **These are some naive characteristics we want to achieve:** | 44 | **These are some naive characteristics we want to achieve:** |
| 45 | 45 | ||
| @@ -75,7 +75,7 @@ page](https://html.spec.whatwg.org/multipage/server-sent-events.html). | |||
| 75 | 75 | ||
| 76 | ### Current browser support | 76 | ### Current browser support |
| 77 | 77 | ||
| 78 |  | 78 | {:loading="lazy"} |
| 79 | 79 | ||
| 80 | Check | 80 | Check |
| 81 | [https://caniuse.com/#feat=eventsource](https://caniuse.com/#feat=eventsource) | 81 | [https://caniuse.com/#feat=eventsource](https://caniuse.com/#feat=eventsource) |
| @@ -143,7 +143,7 @@ which is quite nice and available from Developer Tools under Network tab. | |||
| 143 | > ones. For debugging server events add `console.log` to `server.js` code and | 143 | > ones. For debugging server events add `console.log` to `server.js` code and |
| 144 | > print out events. | 144 | > print out events. |
| 145 | 145 | ||
| 146 |  | 146 | {:loading="lazy"} |
| 147 | 147 | ||
| 148 | ## Server implementation | 148 | ## Server implementation |
| 149 | 149 | ||
