socket.io-client-csharp icon indicating copy to clipboard operation
socket.io-client-csharp copied to clipboard

stop all

Open m2faridi opened this issue 4 years ago • 4 comments

i have bugs this lib stop all after a few minutes

m2faridi avatar Jan 10 '21 22:01 m2faridi

Which version do you use and how to reproduce it?

doghappy avatar Jan 11 '21 05:01 doghappy

2.1.2

m2faridi avatar Jan 11 '21 08:01 m2faridi

I have a lot of requests. But all of a sudden it stops even though the socket is active

m2faridi avatar Jan 11 '21 08:01 m2faridi

you code

client.On("event", response =>
                    {
                       //code
                    });

try code

client.On("event", response =>
                    {
                            try
                            {
                                //code
                            }
                            catch (Exception e)
                            {
                                Console.WriteLine(e);
                            }
                    });

good luck

crackxia avatar Jan 12 '21 02:01 crackxia