okws_client 0.1.0
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
pingIntervalto keep connections alive. - Support for
customHttpClientfor advanced configuration (e.g., self-signed certificates). - Built on top of
dart:iofor native performance and flexibility. - Simple API with
connect,disconnect,send, and state streams. - Fix:
ExponentialBackoffcould throw "Unsupported operation: Infinity or NaN toInt" on extreme retry attempts.