felangel / web_socket_client

A simple WebSocket client for Dart which includes automatic reconnection logic.
https://pub.dev/packages/web_socket_client
MIT License
150 stars 32 forks source link

Feat/public connect function #42

Closed XanderD99 closed 4 months ago

XanderD99 commented 6 months ago

Status

READY

Description

Exposes the connect function to the public. Added an autoConnect flag (default: true) to make it backward compatible.

Now you can manually call the connect function for your web socket connection to start.

I think I updated all the needed parts in the readme. Also, update the example.

Type of Change

XanderD99 commented 6 months ago

๐Ÿ‘€ #41

felangel commented 4 months ago

Closing this for now based on our discussion in #41. Happy to revisit this if you feel strongly, thanks!