✅ ClientWebSocket concurrency question
Hello. Can
ReceiveAsync
and CloseAsync
methods be used concurrently? And also the same for SendAsync
and CloseAsync
(this one sounds a bit funny but it's serious).
The documentation doesn't say anything about concurrency for CloseAsync
.1 Reply
I have found the explanation in source code
~ https://source.dot.net/#System.Net.WebSockets/System/Net/WebSockets/ManagedWebSocket.cs,8eecb48ae7d8e666