| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
- Implement Socket.IO v4 connection state recovery * Track PID and offset for session restoration * Add isRecovered() and getLastOffset() methods * Replay missed events after reconnect - Change auth from Map to JSONObject for flexibility - Upgrade test server from Socket.IO v3.0.4 to v4.8.1 * Fix tests for v4 offset parameter * Fix namespace emission bugs BREAKING CHANGE: auth is now JSONObject instead of Map<String,String>
|
Any updates on this, we really like to have this feature |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Connection State Recovery Support
Implements Socket.IO v4.6.0 connection state recovery for the Java client.
What's New
Connection State Recovery
Flexible Auth (Breaking Change)
// Before opts.auth = Map.of("token", "abc123"); // After JSONObject auth = new JSONObject(); auth.put("token", "abc123"); opts.auth = auth;Testing
Works with Socket.IO v4.6+ servers that have connection state recovery enabled.