I am trying to use SocketIoClientDotNet for python. I can connect to the server but I don’t know how to do the action to receive the server emitted data.
clr.AddReference('SocketIoClientDotNet')
from Quobject.SocketIoClientDotNet.Client import*
clr.AddReference('EngineIoClientDotNet')
from Quobject.EngineIoClientDotNet.ComponentEmitter import*
socket = IO.Socket("https://localhost:3000/")
socket.Connect();
socket.On('mydata', **>>>>ACTION<<<<** )