How can I listen for a socket event? I want to do something like this: ```csharp socket.On("hi", (data) => { Console.WriteLine(data); socket.Disconnect(); }); ``` I can't find any docs about this and I'm not sure if it's supported from reading the code.
How can I listen for a socket event?
I want to do something like this:
I can't find any docs about this and I'm not sure if it's supported from reading the code.