Skip to content

Implement WebSocket server skeleton for external integrations#37335

Open
bdach wants to merge 3 commits intoppy:masterfrom
bdach:websocket-poc
Open

Implement WebSocket server skeleton for external integrations#37335
bdach wants to merge 3 commits intoppy:masterfrom
bdach:websocket-poc

Conversation

@bdach
Copy link
Copy Markdown
Collaborator

@bdach bdach commented Apr 17, 2026

  • Supersedes / closes Broadcast game state through web sockets #18129. Reasons I didn't use that PR are hopefully obvious upon comparing diffs but I can elaborate if they are not.
  • Single metric included for demonstration purposes.
  • Do not want to talk about further schema design at this time.
  • Specify OSU_WEBSOCKET_SERVER=1 envvar to enable.
  • Can test consumption with this five minute html job (works even as a standalone file opened in browser, no CORS bs!)
  • There's a lot of inline comments, go read them. There are many WTFs because the .NET frozen websocket API is weird and stanky and reeks of the year 2007. The inline comments attempt to explain.

@bdach bdach self-assigned this Apr 17, 2026
@bdach bdach moved this from Inbox to Pending Review in osu! team task tracker Apr 17, 2026
Comment thread osu.Game.Tests/IPC/WebSocketClient.cs Fixed
@bdach bdach changed the title Implement WebSocket server for external integrations Implement WebSocket server skeleton for external integrations Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Pending Review

Development

Successfully merging this pull request may close these issues.

2 participants