android
android copied to clipboard
Move handleEvent to WebSocketEventHandler
For readability reason the handleEvent function has been moved WebSocketCoreImpl to WebSocketEventHandler. The function could be refactored into smaller functions later on. Tests still need to be added.
Related to #5271
@NeimadTL thanks for your contributions, I'm going to put this PR in draft since you have some ktlint issues. I would also like to see unit tests like it is written in the issue you've linked.
@NeimadTL , you're welcome. Indeed, I still have some work to do on it (linter + tests, maybe some more refactoring); will continue soon.