john-okeefe
317a4e82a0
feat: add WebSocket handler with dual authentication
Add WSHandler for WebSocket connection management:
- Upgrade HTTP to WebSocket connections
- Dual authentication support:
- JWT token via query parameter (web clients)
- Bearer token via Authorization header (devices)
- Client info extraction for users and devices
- Separate read and write pumps for concurrent I/O
- Ping/pong heartbeat mechanism (30s interval)
- Initial state delivery on connection
- Connection cleanup on disconnect
Implements Week 9 WebSocket endpoint functionality from
Universal Sync Implementation Guide.
2026-01-30 21:47:11 -05:00
..
2026-01-30 08:58:43 -05:00
2026-01-30 08:58:43 -05:00
2026-01-30 16:45:10 -05:00
2026-01-30 20:16:22 -05:00
2026-01-30 20:55:04 -05:00
2026-01-30 08:58:43 -05:00
2026-01-30 16:11:11 -05:00
2026-01-29 09:23:34 -05:00
2026-01-30 21:47:11 -05:00