-
released this
2026-04-22 23:19:40 +02:00 | 25 commits to main since this releaseLifted from fewo-webapp src/ws/ — zero fewo-webapp domain coupling in
the public surface. Classes renamed WSHub→Hub, WSListener→Listener and
namespaced under oatpp_authkit::ws.Features:
- 64 KB per-message cap (rejects fragmented frames exceeding the buffer)
- 500-socket cap
- Detached housekeeper thread pinging idle sockets >90 s, closing >180 s
- Per-socket SocketInfo (userId, role, property scopes) populated via
thread_local handoff from the HTTP controller that served the upgrade
Consumers construct a Hub and pass it to oatpp's
HttpConnectionHandler::setSocketInstanceListener. No other integration
required.Unblocks fewo-webapp #452.
Downloads
-
Source code (ZIP)
1 download
-
Source code (TAR.GZ)
1 download