View Single Post
Old 05-25-2020, 08:26 AM   #10
jefferson
Member
jefferson began at the beginning.
 
Posts: 21
Karma: 10
Join Date: May 2014
Device: kindle
Quote:
Originally Posted by sherman View Post
See https://developer.mozilla.org/en-US/...er-sent_events for info about Server Sent Events.

TLDR, it's super easy to setup, assuming you don't need bi-directional communications. Although, if needed, you could set up your own return channel if required.

I know the Kobo browser supports it, because I've used it.
I am currently testing sse, but it doesn't seem to work. It might be some bug on my site, but it works on my desktop browser. Do you maybe still have some code samples which have worked for you?

Edit: nevermind, it works - I was just having es6 syntax in my js

Last edited by jefferson; 05-25-2020 at 09:22 AM.
jefferson is offline   Reply With Quote