Closed vpzomtrrfrt closed 1 year ago
Thanks for the PR!
I wonder if this should be the default behaviour when dropping the client?
It probably should, I'll work on a commit for that.
I did some more testing, and I think dropping on close might not be ideal since it would cause issues when the EventClient is dropped since users likely expect the callbacks to continue working.
Thanks so much for your contribution, it's officially on crates.io as version 0.3.0.
Allows consumers to close the WebSocket.
I wonder if this should be the default behaviour when dropping the client?