Re: [Cppcms-users] Server Sent events and CppCMS
Brought to you by:
artyom-beilis
From: Barbu P. - G. <bar...@gm...> - 2012-08-09 11:14:23
|
On 08/09/2012 01:29 PM, Artyom Beilis wrote: > Are you familiar with this? > > http://cppcms.com/wikipp/en/page/cppcms_1x#Comet.Programming No, I haven't followed that part of the tutorial, but I read it. But thinking of it ... Will it work if instead of the long pooling connection I'll use the EventStream in JS? And after broadcasting something to every waiter that initialized that connectionit I shouldn't call waiter->async_complete_response(); so I don't close the connection. Is that correct? -- Barbu Paul - Gheorghe Common sense is not so common - Voltaire Visit My GitHub profile to see my open-source projects - https://github.com/paullik |