title: C++ - How to listen to a server sent event (SEE)?
body: <p>I am trying to listen to a server sent event (SEE) in C++/MQL4 natively.</p>
  <p>Basically, through a web hook data is sent, then on the desktop I'm willing to listen to the new incoming information from the SEE.</p>
  <p>Link:</p>
  <blockquote>
  <p><a href="https://sdk.m.pipedream.net/pipelines/p_jmClnMy/sse" rel="nofollow noreferrer">https://sdk.m.pipedream.net/pipelines/p_jmClnMy/sse</a></p>
  </blockquote>
  <p>in JS, it's possible to do the following:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>const eventSource = new EventSource(
    "http://sdk.m.pipedream.net/pipelines/p_jmClnMy/sse"
  );
  
  eventSource.addEventListener("events", function(e) {
    console.log("New event from cron test event stream: ", e);
  });</code></pre>
  </div>
  </div>
  </p>
  <p>Unfortunately, I haven't found much information about doing that in C++/MQL4.</p>