Private or Non-Broadcast Messages
IppSec opened this issue · comments
Is there any concept of sending a message to a specific subscriber/group within this? Or is that on the roadmap at all?
Also - It looks like the example is slightly wrong here:
endpoint.register_route(app, "/pubsub")
I believe it needs to be:
endpoint.register_route(app, path="/pubsub")
If this doesn't make sense, I was hoping to have the same topics (chat_messages, events, etc) for various user levels. (guest, user, admin). So they would subscribe to /admin/chat_messages and get chat messages from all topics, whereas users would get messages from only the users channel. Hopefully that makes sense.