Build real-time applications with WebSocket servers and clients.
Create a WebSocket implementation for: [DESCRIBE YOUR REAL-TIME NEEDS] Requirements: - Server framework: [FASTAPI/DJANGO CHANNELS/STANDALONE] - Client type: [PYTHON/BROWSER/BOTH] - Message format: [JSON/BINARY] - Features: [CHAT/NOTIFICATIONS/STREAMING] Provide: 1. WebSocket server setup 2. Connection handling 3. Message broadcasting 4. Room/channel management 5. Authentication 6. Heartbeat/ping-pong 7. Reconnection logic 8. Client implementation 9. Error handling 10. Scaling considerations 11. Testing WebSockets 12. Production deployment
Or press ⌘C to copy