You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like to achieve a "normal" shutdown of a websocket connection, one needs to do a dance like:
Send Close message
Wait for receiving a Close message
Actually close the connection
The Close method of today closes the connection immediately, without warning or graceful shutdown. Would it be desirable to have a Shutdown method like golang's http servers, which does the dance explained above for the user?
mcandre, chappjc, elnappo, gaborigloi, mantissa7 and 19 more