reconnectOnClose property

bool reconnectOnClose
final

If true (default), then the client will automatically try to reconnect to the server if the socket closes.

Implementation

final bool reconnectOnClose;