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 4db3a57..4256aed 100644 --- a/posts/2020-03-22-simple-sse-based-pubsub-server.md +++ b/posts/2020-03-22-simple-sse-based-pubsub-server.md | |||
| @@ -23,7 +23,7 @@ Publisher Subscriber model is nothing new and there are many amazing solutions o | |||
| 23 | 23 | ||
| 24 | The easiest way to explain this is with diagram bellow. Basic function is simple. We have subscribers that receive messages, and we have publishers that create and post messages. Similar model is also well know pattern that works on a premise of consumers and producers, and they take similar roles. | 24 | The easiest way to explain this is with diagram bellow. Basic function is simple. We have subscribers that receive messages, and we have publishers that create and post messages. Similar model is also well know pattern that works on a premise of consumers and producers, and they take similar roles. |
| 25 | 25 | ||
| 26 |  | 26 |  |
| 27 | 27 | ||
| 28 | **These are some naive characteristics we want to achieve:** | 28 | **These are some naive characteristics we want to achieve:** |
| 29 | 29 | ||
| @@ -49,7 +49,7 @@ Read more about it on [official specification page](https://html.spec.whatwg.org | |||
| 49 | 49 | ||
| 50 | ### Current browser support | 50 | ### Current browser support |
| 51 | 51 | ||
| 52 |  | 52 |  |
| 53 | 53 | ||
| 54 | Check [https://caniuse.com/#feat=eventsource](https://caniuse.com/#feat=eventsource) for latest information about browser support. | 54 | Check [https://caniuse.com/#feat=eventsource](https://caniuse.com/#feat=eventsource) for latest information about browser support. |
| 55 | 55 | ||
| @@ -107,7 +107,7 @@ Google Chrome provides build-in debugging and exploration tool for [Server-Sent | |||
| 107 | 107 | ||
| 108 | > You can debug only client side events that get received and not the server ones. For debugging server events add `console.log` to `server.js` code and print out events. | 108 | > You can debug only client side events that get received and not the server ones. For debugging server events add `console.log` to `server.js` code and print out events. |
| 109 | 109 | ||
| 110 |  | 110 |  |
| 111 | 111 | ||
| 112 | ## Server implementation | 112 | ## Server implementation |
| 113 | 113 | ||
