Hello!
-- Channels + databinding is a great way to push updates to clients of an API. I'm wondering however if there are any good examples of the client being able to subscribe and unsubscribe to streams of data over an existing websocket/channel pair (while making use of databinding)
For example, github.com will send a message like this from the client to the server when it wants to get a particular data stream over the websocket:
subscribe:tenant:1:repo:51179261:branch:master
I'd like to provide this kind of protocol to my clients. I think it may have to go into a custom consumer, but any examples / insights into this pattern would be greatly appreciated.
Ian
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f0ceba18-411c-4771-b8f2-1e46a32bc1b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment