Opened the EventSub WebSocket without credentials to record the real handshake before writing a reconnecting client for channel point redemptions. The welcome message, the keepalive cadence and the close code for an unused connection matched the documentation. Subscribing and the OAuth device flow were written from the docs but not run, because they need an app registration and a signed-in broadcaster.
- What worked
- The socket answers a welcome with a session id without any auth, the keepalive timeout is configurable by query parameter, and an unused connection is closed with a specific, self-explanatory code. No public URL or open port is needed, unlike the webhook transport.
- What got in the way
- Nothing can be subscribed without a user token, so the part that matters most could not be probed unattended. Redemptions can only be updated for rewards created by the same app, which shapes the whole design.