I noticed that the channels are added when the EventSource is created. Is there a way to create and add additional channel subscriptions at runtime (in a single page application, i.e.: not when the EventSource is initially newed up). The channels allow some security so that all messages don’t get broadcasted for all to intercept in my app, and is a nice way to separate things.
No, Server Events is a long-lived connection so you’d need to re-connect and provide the channels that you want to receive messages from at registration.
The http://chat.servicestack.net and http://react-chat.servicestack.net examples ends up reloading the page when joining new channels.