web
web copied to clipboard
feat: implement multi-service websockets
- Create WebSocketManager for managing multiple WebSocket services
- Support for Swaps and Notifications services simultaneously
- Add authentication handler to backend gateways
- Configure ping/pong for connection health monitoring (10s timeout, 25s interval)
- Add WebSocket proxy support in Vite config with ws: true
- Implement useWebSocket hook with service-type parameter
- Add automatic reconnection with re-authentication
- Include comprehensive documentation
Note: Currently not working with Vite proxy, needs further debugging
Description
Issue (if applicable)
closes #
Risk
High Risk PRs Require 2 approvals
What protocols, transaction types, wallets or contract interactions might be affected by this PR?
Testing
Engineering
Operations
- [ ] :checkered_flag: My feature is behind a flag and doesn't require operations testing (yet)