Only response web socket
How to create web socket that doesn't accept any messages, but clients can connect to it and listen for updates? If I don't create while loop, the client immediately disconnects.
6 Replies
Unknown User•14mo ago
Message Not Public
Sign In & Join Server To View
it will take some time to understand how it work😅
You can use signalR
and server sent events
I don't understand what to do with
socketFinishedTcs
. I guess AddSocket
saves websocket and task to some dictionary, and later I can remove it from dictictionary with some key. But how it prevents from closing connection with a client?Unknown User•14mo ago
Message Not Public
Sign In & Join Server To View