If I have two different types of events then it seems there are two ways to separate the different types of the events using HTML5 Server Sent Events:
- Attaching the respective event keyword to every message pushed from the server.
- Exposing the different event types at different URLs.
As someone who has just started learning to use HTML5 SSE I wonder when would I use each method.
Any insights from the experienced users of this API?
P.S.
I do not think it matters, but my server side is Node+Express.