- Notifications
You must be signed in to change notification settings - Fork3.6k
Open
Labels
Description
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
TheClose
method of today closes the connection immediately, without warning or graceful shutdown. Would it be desirable to have aShutdown
method like golang's http servers, which does the dance explained above for the user?
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status