web_socket_client icon indicating copy to clipboard operation
web_socket_client copied to clipboard

A simple WebSocket client for Dart which includes automatic reconnection logic.

Results 17 web_socket_client issues
Sort by recently updated
recently updated
newest added

I have used this package to replace some custom reconnect code because I think it does a better job than we were doing. However one issue with the this package...

enhancement

Bumps [very_good_analysis](https://github.com/VeryGoodOpenSource/very_good_analysis) from 5.1.0 to 6.0.0. Release notes Sourced from very_good_analysis's releases. v6.0.0 chore: release 6.0.0-dev.1 v6.0.0-dev.1 feat!: upgrade to support Dart ^3.4.0 feat: additional lint rules: missing_code_block_language_in_doc_comment no_self_assignments no_wildcard_variable_uses...

dependencies
dart

**Description** Thank you for the package. I want to know how the package handles a 401 on the handshaking GET call before upgrading the http connection to a websocket. I...

documentation

**Description** The backoff strategy is great but it keeps trying and trying. I need a way to stop trying after a period of time so I can force create a...

Is it possible to set : const backoff = ConstantBackoff(Duration.zero); final socket = WebSocket(uri, backoff: backoff); Is that correct?

In around 5 seconds after minimizing the app, the WS gets Disconnected. It happened only on Android 15 and 16 on emulators and real devices. Older Android versions work fine....

bug

Bumps [very_good_analysis](https://github.com/VeryGoodOpenSource/very_good_analysis) from 7.0.0 to 10.0.0. Release notes Sourced from very_good_analysis's releases. v10.0.0 10.0.1-rc.2 (2025-09-19) Miscellaneous Chores v10.0.0 (#170) (7a889f9) Docs update exclusion table (#165) (b9bc6f5) update exclusion table (#169)...

dependencies
dart