Home  /  RSS  /  RSS Comments  /  Enter

Server-Sent Events in CppCMS Trunk

Tuesday, August 28, 2012, by artyom ; Posted in: Comet; one comment

There is a simple class added to the contrib section in trunk.

https://cppcms.svn.sourceforge.net/svnroot/cppcms/framework/trunk/contrib/server_side/sse/

The Server-Sent Events support is provide in form of a generic class sse::event_source that the user expected to derive from.

Also two simple event source objects with a predefined policy:

Examples of a simple chat and a stock ticker are provided.

Notes:

Comments

Sergey, at 8/28/12 8:24 PM

Mmm... Loved :) Artyom thank you.

Add Comment:

 
 the email would not displayed
 

You can write your messages using Markdown syntax.

You must enable JavaScript in order to post comments.

Pages

Categories