Sample application to show how to use in a C++ application
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Simple C++ app using

This is a sample application that shows how to use in a C++ application. relies on two standard technologies: EventSource (, and json-patch ( This C++ implementation uses ChilKat ( as a C++ EventSource implementation (, and JSON for Modern C++ ( as a C++ json-patch implementation.

Step by step setup

  1. Create an free account on to get an App token.

  2. Make sure you have Visual Studio 2017 installed.

  3. Clone project and open the VS solution CppSample.sln.

  4. Edit CppSample.cpp and replace [YOUR TOKEN HERE] with your App token.

  5. Press Ctrl + F5 to build the project.

You should see data and patches pushed in your application and displayed on your terminal.

You can use the provided demo example API which simulates updating stocks prices from a financial market: ''

Feel free to test it with any REST/Json API of your choice.

If you have any question or remark, please contact