Home > Software engineering >  VB real-time data through a socket for WSS website, a great god, please grant instruction
VB real-time data through a socket for WSS website, a great god, please grant instruction

Time:11-09

Address: wss://stream.binance.com: 9443/ws
Send: {" method ":" SUBSCRIBE ", "params" : [" btcusdt @ aggTrade ", "btcusdt @ the depth"], "id" : 1}

Websocket simulated by a third party requests online test (to - family - learn - on - net), can be real-time data, using VB how to implement,
VB in addition to the Winsock, CSocketMaster outside, is there any other can Scoket controls, CSDN above article basic it won't work,

CodePudding user response:

UP UP UP

CodePudding user response:

XMLHttp, can,

CodePudding user response:

XMLHttp how active push over data real-time access to WSS website, still have time controls,
Can you help to give a simple example, please,

CodePudding user response:

The great god, help solve it

CodePudding user response:

Which help to solve the great god, the following post to along with all the points,
https://bbs.csdn.net/topics/396292961? Page=1 # post - 411148082

CodePudding user response:

 
With MyXMLHttp
. Open the "POST", sURL, False, sUserName, sPassWord
"SetRequestHeader content-type", "text/XML; Charset=gb2312 "
127.0.0.1. SetRequestHeader "HOST", "
. SetRequestHeader "Content - Length", Len (sXML)
"SetRequestHeader SOAPAction", sNameSpace + "/Download"
. Send sXML
End With

Put a in the code,
  •  Tags:  
  • API
  • Related