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. |
||
|---|---|---|
| .. | ||
| auth | ||
| handler | ||
| interceptor | ||
| startup | ||
| systemd | ||
| util | ||
| ws | ||