Re: how to push stuff to the browser
Andrew <[email protected]>
| Newsgroups | gmane.comp.python.cherrypy |
|---|---|
| Message-ID | <[email protected]> |
Hi Bjorn and Tim, Thanks for you responses. Does anyone have any idea what kind of technology google hangouts uses? It seems to work pretty well. I don't see repeated http requests from the Chrome "Developer Tools" thing when I use google hangouts when there are no messages being sent, so I guess it does not use polling from the browser. Andrew On Friday, September 2, 2016 at 3:06:13 PM UTC+2, Björn Pedersen wrote: > > > > You cannot "push" anything to a browser. That's just not how the web >> works -- it is entirely a "pull" technology. >> > > > Or you can use websockets to reallypush the data to the client. > On the cherrypy side there is ws4py that also has cherrypy integration. > > On the client side you need suitable javascript aswell. > > Björn > -- 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 post to this group, send email to cherrypy-users-/JYPxA39Uh5TLH3MbocFF+G/[email protected] Visit this group at https://groups.google.com/group/cherrypy-users. For more options, visit https://groups.google.com/d/optout.