Re: [Cppcms-users] Server Sent events and CppCMS
Brought to you by:
artyom-beilis
From: Barbu P. - G. <bar...@gm...> - 2012-08-10 18:40:34
|
On 08/10/2012 06:48 PM, Artyom Beilis wrote: > I had changed your example a little: > > 1. Remove context from the list such that it would not write some more data > until completion handler returns. > 2. You use incorrectly completion handler - you need to receive the status > in handler. > 3. Reduced reconnect option so the client would reconnect immediatly Where can I see the changed code? > Also it would be better to use Last-Event-ID header and setup ids so the > client that is disconnected can reconnect and restart from correct point. Yeah this is more of a feature, what I did was a proof of concept for myself to see if I'm able to implement it... -- Barbu Paul - Gheorghe Common sense is not so common - Voltaire Visit My GitHub profile to see my open-source projects - https://github.com/paullik |