Skip to content
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

Merged
merged 10 commits into from
Apr 15, 2022

Conversation

cryptoAlgorithm
Copy link
Member

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.

@cryptoAlgorithm
Copy link
Member Author

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.

@cryptoAlgorithm
Copy link
Member Author

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.

@cryptoAlgorithm
Copy link
Member Author

This will be merged by the end of the day as all tasks have been completed, and no more reliability issues have been found.

@cryptoAlgorithm
Copy link
Member Author

And with that commit, this branch will finally be merged 🎉

@cryptoAlgorithm cryptoAlgorithm merged commit 4bd3000 into main Apr 15, 2022
@cryptoAlgorithm cryptoAlgorithm deleted the native-urlsession-websocket branch April 19, 2022 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant