Skip to content

Conversation

@anultravioletaurora
Copy link

@anultravioletaurora anultravioletaurora commented Dec 11, 2025

Adds websocket support to the SDK

Facilitates the initialization and lifecycle of a WebSocket

TODO:

  • Expose connection status to consumers
  • Allow consumer defined message handling
  • anything else bill wants for x-mas
  • Finish covering Add WebSocket Support #966

Add an optional event parameter to the onClose and onOpen callbacks

Incorporates the api_key as a searchParam in the websocket URL
@thornbill thornbill added the enhancement New feature or request label Dec 11, 2025
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
61.4% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

Lots of refactoring based on Niels' feedback, including a subscription model that can be used by consumers

This will manage the websocket connection entirely
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants