web_socket_client 0.2.0 copy "web_socket_client: ^0.2.0" to clipboard
web_socket_client: ^0.2.0 copied to clipboard

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

0.2.0 #

  • BREAKING refactor: make ConnectionState a sealed class
  • feat: add wasm compatibility
  • feat: add protocol getter to WebSocket
  • fix: cancel subscription on close or reconnect
  • fix: invalid_runtime_check_with_js_interop_types
    • bump minimum Dart SDK version to 3.4.0
  • fix: only attempt reconnect on Exceptions to avoid infinite retry-loop
  • refactor: upgrade analysis_options

0.1.5 #

  • chore(deps): upgrade to pkg:very_good_analysis ^6.0.0
  • chore(deps): support for pkg:web: ^1.0.0
  • chore: add funding to pubspec.yaml

0.1.4 #

  • fix: consecutive calls to close complete normally

0.1.3 #

  • deps: support for pkg:web_socket_channel: ^3.0.0

0.1.2 #

  • deps: upgrade pkg:web and pkg:web_socket_channel
    • requires Dart >=3.3.0

0.1.1 #

  • feat: add headers support
  • feat: migrate to package:web

0.1.0 #

  • fix: cannot add new events after calling close
  • docs: update snippet typo in README.md
  • docs: add topics to pubspec.yaml
  • deps: upgrade to mocktail: ^1.0.0 and very_good_analysis: ^5.0.0

0.1.0-dev.3 #

  • feat: add binaryType parameter to WebSocket class

0.1.0-dev.2 #

  • refactor: upgrade to Dart 2.19
    • chore(deps): upgrade to Very Good Analysis 4.0.0

0.1.0-dev.1 #

  • feat: initial dev release 🎉
179
likes
160
points
15.3k
downloads

Publisher

verified publisherfelangel.dev

Weekly Downloads

2024.09.15 - 2025.03.30

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

Repository (GitHub)

Topics

#web-socket #web-socket-client

Documentation

API reference

Funding

Consider supporting this project:

github.com

License

MIT (license)

Dependencies

meta, web, web_socket_channel

More

Packages that depend on web_socket_client