You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Since I work with web sockets a lot, I looked at their docs, thankfully I know how to read documentation
Maxim, can you tell me how to make a request?
Maxim, can you tell me how to make a request?
maybe that's where you should have started?
https://www.mql5.com/ru/docs/network/webrequest
Maxim, maybe you can tell me how to make a query?
the PUT method of the web socket protocol. It is two-way and can send messages/requests from client.
Inside it (for hibou) you put a json with the request, where you just specify the stream you want to receive. One of the response messages will contain confirmation (or error code) and the data stream will follow.
I can't say, how to make it easy in C# :-) It's too much code;
maybe that's where you should have started?
https://www.mql5.com/ru/docs/network/webrequest
webrequest does not support persistent connection and therefore websocket does not work on top of it.
You can overlay TcpSocket, but you have to render http by hand and it's unlikely that anyone can overlay TLS in MQL to get a WSS
you can overlay TcpSocket, but you have to perform http by hand and it's unlikely that anyone can implement TLS in MQL to have WSS
Isn't it enough to support TLS at the socket API level?
Isn't TLS support at socket API level enough?
We put half of our own HTTP/HTTPS/TLS engine into SocketXXXX functions.
Perhaps we'll add CSocketWeb class with HTTP/HTTPS/WSS functionality to the standard library, so that we can control 100% of network operations from MQL5.
We put half of our own HTTP/HTTPS/TLS engine into SocketXXXX functions.
We may add CSocketWeb class with HTTP/HTTPS/WSS functionality to the standard library, so that we can control 100% of network operations from MQL5.
We put half of our own HTTP/HTTPS/TLS engine into SocketXXXX functions.
Perhaps we'll add CSocketWeb class with HTTP/HTTPS/WSS functionality to the standard library, so that we can control 100% of network operations from MQL5.
and the OnSocket () event?
and the OnSocket () event?
No, this is a synchronous object.