Re: data from bus to publishing function
'Björn Pedersen' via cherrypy-users <cherrypy-users-/[email protected]> Tue, 17 Jan 2017 00:38:57 -0800 (PST)
| Newsgroups | gmane.comp.python.cherrypy |
|---|---|
| Message-ID | <[email protected]> |
Hi,
Well, have you thought about using websockets? ws4py integrates nicely with
cherrypy.
in your receiving function you would use "engine.ublish('websocket-broadcast',
json.dumps(data))"
to get the data to all clients.
Björn
Am Montag, 16. Januar 2017 18:29:41 UTC+1 schrieb IngoognI:
>
> regarding disconnects, sending a heartbeat with a blanc character:
>
> http://stackoverflow.com/questions/14472301/cherrypy-check-connection-status
>
> Ingo
>
--
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.