Re: How to implement a cherrypy server with long-polling enabled path?

Tim Roberts <[email protected]> Fri, 20 Dec 2019 00:45:56 -0800
Newsgroups gmane.comp.python.cherrypy
Message-ID <[email protected]>
On Dec 19, 2019, at 10:49 AM, =E5=8C=97=E7=BE=8E38fule <38fule.north.americ=
[email protected]> wrote:
>=20
> Thanks for your suggestion. I've read some articles saying that websocket=
 would be an overkill. My application doesn't require high frequency bi-dir=
ectional communications. It's only occasionally needs some updates from bac=
kend. So I'm reluctant to adopt websocket in my use case.

Then isn=E2=80=99t it clear that having Javascript on your web site do an A=
JAX request to poll every few seconds is the right method?  Nothing unusual=
 or non-standard about that.
=E2=80=94=20
Tim Roberts, [email protected]
Providenza & Boekelheide, Inc.

--=20
You received this message because you are subscribed to the Google Groups "=
cherrypy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to cherrypy-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
To view this discussion on the web visit https://groups.google.com/d/msgid/=
cherrypy-users/B0DE4935-1D46-4759-AF23-2120DE70E9DA%40probo.com.