Tags: getCurrentThread/soopapi
Tags
refactor: simplify WebSocketManager structure and dedupe call sites Collapse the connect() / doSingleConnectAttempt() pair into a single attemptConnect() with openSocket() as the builder helper. Replace the three ad-hoc "ws null → failedFuture" guards in sendChat / sendEnterInfo / sendInitialPackets with a requireActiveSocket() helper that returns a CompletableFuture<WebSocket>. Drop the redundant `connected` field from WsState (equivalent to ws != null) and expose isConnected()/withPing() on the record. Unify the two reconnect-event emit paths into emitReconnecting(attempt, delay) / emitReconnected(attempt). Split the ping scheduler lambda into tickPing() and handlePingFailure(), and pull the retry scheduler body into runScheduledRetry(). Apply var where the type is obvious and switch fine logs to supplier form. Public API unchanged; SOOPConnection callers untouched. Bump to 0.11.0.
feat: add connection lifecycle events, anonymous mode, docs, and vers… …ion bumps - feat: add connection lifecycle events, anonymous mode, and comprehensive test suite - docs: add AI-ready documentation (llms.txt, llms-full.txt) - chore: bump version to v0.6.0 - fix: correct file name casing for SOOP* classes - chore: bump version to v0.6.1 - ci: update llms.txt and llms-full.txt version on tag push
PreviousNext