C++ - How to listen to a server sent event (SEE)?
C++ - How to listen to a server sent event (SEE)?
Loading saved threads...
Hamza L. · External communityPost link
External question — Stack Overflow Stack Exchange
Author: Hamza L.
Original post: https://stackoverflow.com/questions/73682743
License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/
Adaptation: HTML converted to plain text; contact email addresses removed.
I am trying to listen to a server sent event (SEE) in C++/MQL4 natively.
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.
Link:
https://sdk.m.pipedream.net/pipelines/p_jmClnMy/sse
in JS, it's possible to do the following:
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);
});
Unfortunately, I haven't found much information about doing that in C++/MQL4.
Quote
Report
Post Reply
Quoted from Forex.com.bd-Editorial External question — Stack Overflow Stack Exchange Author: Hamza L. Source score (net votes, not local likes): 1 Original post: https://stackoverflow.com/questions/73682743 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. I am trying to listen to a server sent event (SEE) in C++/MQL4 natively. 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. Link: https://sdk.m.pipedream.net/pipelines/p_jmClnMy/sse in JS, it's possible to do the following: 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); }); Unfortunately, I haven't found much information about doing that in C++/MQL4.
Checking account access…