-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to shutdown/close websocket? #93
Comments
Yeah, there's not a specific place that tells that I guess. The answer is most of the callbacks have the option to return a https://hexdocs.pm/websockex/0.4.3/WebSockex.html#c:handle_cast/2 |
This is definitely a situation where I don't know where to put that particular piece of documentation. If you have any ideas, let me know. |
I tried to return |
It was solved by using restart option.
|
I couldn't find in the documentation how to close a websocket when it is no longer of any use. Is this possible? Maybe the documentation just needs a small update?
The text was updated successfully, but these errors were encountered: