-
-
Notifications
You must be signed in to change notification settings - Fork 86
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
Remove Starscream Dependency + Rewrite WebSocket Wrapper #10
Conversation
Basic Gateway handling works, but without any reconnection logic
stable Please open an issue if you encounter any bugs, and include logs as well
This branch will be merged soon (by the end of next week) if no reports of connection issues emerge. Currently, only code cleanup and old code removal is pending. |
…ment in delegate) Add delay before reconnecting when the session cannot be resumed
With this comment, all Starscream-related WebSocket wrapper code has been removed. This branch can now be merged, if there are no more reliability issues. |
Converted RobustWebSocket and Gateway to use OSLog for logging
This will be merged by the end of the day as all tasks have been completed, and no more reliability issues have been found. |
And with that commit, this branch will finally be merged 🎉 |
This branch aims to remove the Starscream dependency for WebSocket connections, and uses URLSessionWebSocketTask instead.
The WebSocket wrapper has also been completely rewritten for higher reliability in reconnections!
These improvements should fix most connection bugs as well as resolve performance issues related to the socket.