reconnect property

set reconnect (bool value)

Configures the HubConnection to automatically attempt to reconnect if the connection is lost. By default, the client will wait 0, 2, 10 and 30 seconds respectively before trying up to 4 reconnect attempts.

When reconnectDelays or reconnectPolicy was set, set this to true is unnecessary.

Must called after reconnectDelays and reconnectPolicy when set to false.

Implementation

set reconnect(bool value);