• v0.3.0 ccb77daac5

    u.schuster released this 2026-04-22 23:19:40 +02:00 | 25 commits to main since this release

    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.

    Downloads