oatpp-authkit/include/oatpp-authkit
Uwe Schuster ccb77daac5 Add ws::Hub + ws::Listener — WebSocket pub/sub hub
Lifted 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.
2026-04-22 23:19:40 +02:00
..
auth v0.2.0: IAuthBackend/IAuthPolicy/IRuntimeConfig seams + AuthInterceptor port 2026-04-21 21:48:43 +02:00
handler v0.2.1: wrap clean-lift headers in namespace oatpp_authkit 2026-04-21 21:53:21 +02:00
interceptor v0.2.1: wrap clean-lift headers in namespace oatpp_authkit 2026-04-21 21:53:21 +02:00
startup v0.1.0: initial clean-lift from fewo-webapp 2026-04-21 21:42:53 +02:00
systemd Add systemd::notify helper (zero-dep sd_notify protocol) 2026-04-22 23:01:40 +02:00
util v0.2.1: wrap clean-lift headers in namespace oatpp_authkit 2026-04-21 21:53:21 +02:00
ws Add ws::Hub + ws::Listener — WebSocket pub/sub hub 2026-04-22 23:19:40 +02:00