openHPI / codeocean

CodeOcean is an automated assessment tool for web-based coding exercises
BSD 3-Clause "New" or "Revised" License
64 stars 27 forks source link

Unify comparison of the WebSocket ready state #2601

Open MrSerth opened 22 hours ago

MrSerth commented 22 hours ago

Previously, we used some mixed methods to identify the ready state of WebSocket connections with different methods and target states. By using the same method and enum values, we can ensure easier navigation for developers and better maintenance.