How to implement a cherrypy server with long-polling enabled path?
北美38fule <[email protected]> Tue, 17 Dec 2019 18:23:50 -0800 (PST)
| Newsgroups | gmane.comp.python.cherrypy |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_1877_1220465030.1576635830269 Content-Type: multipart/alternative; boundary="----=_Part_1878_664297616.1576635830269" ------=_Part_1878_664297616.1576635830269 Content-Type: text/plain; charset="UTF-8" I am a newbie in cherrypy. I've done some research on google but didn't get much helpful information. Could someone please point out if cherrypy allows me to write a simple server that has long-polling enabled path? The scenario is like: whenever the database on backend has some updated information, it sends signals to the frontend to updates all relevant display accordingly. Is this achievable using cherrypy? Or I will need tornado-like framework? Could someone also point out a newbie-friendly tutorial for this purpose? Thanks. -- 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 email to cherrypy-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected] To view this discussion on the web visit https://groups.google.com/d/msgid/cherrypy-users/a2124195-11dc-46d2-baf2-7a9040bd9639%40googlegroups.com. ------=_Part_1878_664297616.1576635830269 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">I am a newbie in cherrypy. I've done some research on = google but didn't get much helpful information.<div>Could someone pleas= e point out if cherrypy allows me to write a simple server that has long-po= lling enabled path?</div><div>The scenario is like: whenever the database o= n backend has some updated information, it sends signals to the frontend to= updates all relevant display accordingly.</div><div><br></div><div>Is this= achievable using cherrypy? Or I will need tornado-like framework? Could so= meone also point out a newbie-friendly tutorial for this purpose? Thanks.</= div></div> <p></p> -- <br /> You received this message because you are subscribed to the Google Groups &= quot;cherrypy-users" 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/a2124195-11dc-46d2-baf2-7a9040bd9639%40googlegrou= ps.com?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/= msgid/cherrypy-users/a2124195-11dc-46d2-baf2-7a9040bd9639%40googlegroups.co= m</a>.<br /> ------=_Part_1878_664297616.1576635830269-- ------=_Part_1877_1220465030.1576635830269--