Android Question websocket error

nicolino33

Active Member
Licensed User
Longtime User
Hello all, I have one problem:

B4X:
Dim ws As WebSocket
ws.Initialize("ws")
Dim url As String = "wss://stream.binance.com:9443/ws/bnbusdt@miniTicker"
ws.Connect(url)

Error: java.lang.Exception: Sub ws_connected signature does not match expected signature.
public static anywheresoftware.b4a.pc.RemoteObject b4a.example.b4xmainpage_subs_0._ws_connected(anywheresoftware.b4a.pc.RemoteObject,anywheresoftware.b4a.pc.RemoteObject) throws java.lang.Exception

Could you help me?
 
Top