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

'Björn Pedersen' via cherrypy-users <cherrypy-users-/[email protected]> Thu, 19 Dec 2019 00:06:17 -0800 (PST)
Newsgroups gmane.comp.python.cherrypy
Message-ID <[email protected]>
------=_Part_243_1976119744.1576742777833
Content-Type: multipart/alternative; 
	boundary="----=_Part_244_1590795506.1576742777833"

------=_Part_244_1590795506.1576742777833
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

A quick google search for pytho socketio gives quite a few hits.

See https://python-socketio.readthedocs.io/en/latest/intro.html, this=20
should be easys to integrate with  cherrypy as  well.=20
Pure websockets: ws4py has  cherrypy integration.

Bj=C3=B6rn

Am Mittwoch, 18. Dezember 2019 20:59:45 UTC+1 schrieb =E5=8C=97=E7=BE=8E38f=
ule:
>
> I am a newbie in cherrypy. I've done some research on google but didn't=
=20
> get much helpful information.
> Could someone please point out if cherrypy allows me to write a simple=20
> server that has long-polling enabled path?
> The scenario is like: whenever the database on backend has some updated=
=20
> information, it sends signals to the frontend to updates all relevant=20
> display accordingly.
>
> Is this achievable using cherrypy? Or I will need tornado-like framework?=
=20
> Could someone also point out a newbie-friendly tutorial for this purpose?=
=20
> Thanks.
>

--=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/30006d0a-e090-40e2-bcff-959a98b1a5a8%40googlegroups.com.

------=_Part_244_1590795506.1576742777833
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>A quick google search for pytho socketio gives quite =
a few hits.</div><div><br></div><div>See https://python-socketio.readthedoc=
s.io/en/latest/intro.html, this should be easys to integrate with=C2=A0 che=
rrypy as=C2=A0 well. <br></div><div>Pure websockets: ws4py has=C2=A0 cherry=
py integration.</div><div><br></div><div>Bj=C3=B6rn<br></div><br>Am Mittwoc=
h, 18. Dezember 2019 20:59:45 UTC+1 schrieb =E5=8C=97=E7=BE=8E38fule:<block=
quote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex;border-le=
ft: 1px #ccc solid;padding-left: 1ex;"><div dir=3D"ltr">I am a newbie in ch=
errypy. I&#39;ve done some research on google but didn&#39;t get much helpf=
ul information.<div>Could someone please point out if cherrypy allows me to=
 write a simple server that has long-polling enabled path?</div><div>The sc=
enario is like: whenever the database on backend has some updated informati=
on, it sends signals to the frontend to updates all relevant display accord=
ingly.</div><div><br></div><div>Is this achievable using cherrypy? Or I wil=
l need tornado-like framework? Could someone also point out a newbie-friend=
ly tutorial for this purpose? Thanks.</div></div></blockquote></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;cherrypy-users&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:cherrypy-users+unsubscribe-/[email protected]">cher=
rypy-users+unsubscribe-/[email protected]</a>.<br />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/d/msgid/cherrypy-users/30006d0a-e090-40e2-bcff-959a98b1a5a8%40googlegrou=
ps.com?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/=
msgid/cherrypy-users/30006d0a-e090-40e2-bcff-959a98b1a5a8%40googlegroups.co=
m</a>.<br />

------=_Part_244_1590795506.1576742777833--

------=_Part_243_1976119744.1576742777833--