Getting ChatGPT to Write Accurate WebSocket Handlers Without Dropped Messages
ChatGPT can scaffold WebSocket handlers fast, but the default output skips reconnection logic, drops messages during disconnects, and ignores backpressure entirely. Here's how to prompt your way to production-ready code.