okws_client 0.1.0 copy "okws_client: ^0.1.0" to clipboard
okws_client: ^0.1.0 copied to clipboard

A simplified WebSocket client with robust reconnection handling, supporting custom headers, ping interval, and backoff strategies.

0.1.0 #

  • Initial release of okws_client.
  • Robust reconnection logic with configurable backoff strategies (LinearBackoff, ExponentialBackoff).
  • Support for custom HTTP headers.
  • Support for pingInterval to keep connections alive.
  • Support for customHttpClient for advanced configuration (e.g., self-signed certificates).
  • Built on top of dart:io for native performance and flexibility.
  • Simple API with connect, disconnect, send, and state streams.
  • Fix: ExponentialBackoff could throw "Unsupported operation: Infinity or NaN toInt" on extreme retry attempts.
0
likes
160
points
22
downloads

Documentation

API reference

Publisher

verified publisherpub.lwjlol.com

Weekly Downloads

A simplified WebSocket client with robust reconnection handling, supporting custom headers, ping interval, and backoff strategies.

Repository (GitHub)
View/report issues

License

MIT (license)

More

Packages that depend on okws_client