doghappy / socket.io-client-csharp

socket.io-client implemention for .NET
MIT License
715 stars 124 forks source link

Responses not being caught??? #334

Closed OssieFromDK closed 11 months ago

OssieFromDK commented 11 months ago

I have the following to catch responses:

            Client.On("response", response =>
            {
                  Console.WriteLine(response.ToString());
            });

            Client.On("completed-response", response =>
            {
                  Console.WriteLine(response.ToString());
            });

            Client.On("error-response", response =>
            {
                  Console.WriteLine(response.ToString());
            });

But it doesn't print anything, but I know the responses are there, since I can see them in fiddler... image

Why are they not being caught by the code?

OssieFromDK commented 11 months ago

Making the respone async worked...?

You should maybe add that to the docs.