Hi folks,
I'm pleased to announce an SSE library for Django:
https://github.com/fanout/django-eventstream
The library makes pushing data from the server really easy. It uses
Channels under the hood, although you don't have to write any async code.
Simply declare endpoints in routing.py and call s
Nice library! good work :-)
I would suggest you update your readme to reflect that SSE is not supported
by any MS browser (IE or Edge) as shown by
https://caniuse.com/#feat=eventsource.
On Wednesday, June 13, 2018 at 7:34:21 PM UTC-4, Justin Karneges wrote:
>
> Hi folks,
>
> I'm pleased to a
Thanks Jason! The library comes with Yaffle's polyfill for IE/Edge support,
that can be included with a template tag.
https://github.com/fanout/django-eventstream#receiving-in-the-browser
On Wed, Jun 13, 2018 at 5:20 PM, Jason wrote:
> Nice library! good work :-)
>
> I would suggest you update
ooh, nice! missed that part.
Did you consider having that pull from a CDN rather than locally? Reason
being, any updates to said polyfills will require you to deploy an update.
Whereas if you have a template tag to pull from a CDN, you can have your
users specify the version if necessary and
Thanks for the tips.
I didn't think about referencing a CDN, but I suppose that's a better
default, and if people want local copies then they can make their own.
Json2 probably shouldn't be in there. I've been dragging that file around
for years without really thinking about it. If anyone really
5 matches
Mail list logo