Open jonmdev opened 1 month ago
Will check this problem
Ok, seems the unit tests don't cover this usage. I will add a unit test and check what's the problem.
I don't see the same problem but I did see a problem a about close handshake in PackageHandler mode. I added a unit test and pushed the fix.
A new release will be available soon.
For your case, the problem might be websocket.OpenAsync() returned false.
Just added a clear exception for this case.
Please try 1.0. beta 5.
I have installed your package using NuGet 1.0.0-beta.4.
According to this this should work:
However:
1) Your example code neglects to mention that
websocket.PackageHandler
must return ValueTask like I show above. 2) None of this still works. I am getting null errors on the WebSocket base objects repeatedly.This is triggered at your code:
What is going on? What am I supposed to do to make this work?