Added automatic reconnect for Websockets #7

Merged
MarciiTheDev merged 2 commits from dev into main 2024-03-26 12:50:01 +00:00

View File

@ -21,6 +21,7 @@ export class SubscriptionManager {
skipNegotiation: true,
transport: signalR.HttpTransportType.WebSockets
})
.withAutomaticReconnect([0, 2000, 10000, 30000, 60000])
.configureLogging(signalR.LogLevel.None)
.build();
this._hubConnection.start()