Thanks for sharing your thoughts! I gave them my consideration. However, when I understand you correctly your plan was (is) to send updates from the server to the client using WS but not the other way around. We’ll have live updates for cooperation on texts and therefore I wanted to use WS in both directions. I also thought about leaving some dependencies out but I think I can hardly do without any of them.
Here is my package if somebody is interested: https://github.com/dgilge/django-realtime-api <https://github.com/dgilge/django-realtime-api> Daniel > Am 15.02.2018 um 15:26 schrieb Tom Christie <christie....@gmail.com>: > > Sounds interesting. Not sure I have any particular suggestions, but can add > some context around the plans I had. (Possibly still *have* , at a later > date.) > > My rough plan for Websockets support is a little similar, in that it'd be > able easy ways to mirror an existing HTTP endpoint with an equivalent WS > endpoint that provides streaming updates whenever the content changes. > Personally I was planning to approach it as a separate proxy service, and use > Redis Pub/Sub for the webapp to notify the Websocket server whenever there > are changes. > > An approach that works entirely in Django would be great tho. > > Separate issue this, but I think the biggest thing missing for folks ATM is > probably just a lack of tutorials or blog posts on using Channels and REST > framework together. > > - T. > > -- > You received this message because you are subscribed to a topic in the Google > Groups "Django REST framework" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/django-rest-framework/3-QNn3SYlZI/unsubscribe > > <https://groups.google.com/d/topic/django-rest-framework/3-QNn3SYlZI/unsubscribe>. > To unsubscribe from this group and all its topics, send an email to > django-rest-framework+unsubscr...@googlegroups.com > <mailto:django-rest-framework+unsubscr...@googlegroups.com>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.