Example #1
0
        private async Task OnReconnect(ReconnectionInfo reconnectionInfo)
        {
            // we do not want to pass "initial"
            if (reconnectionInfo.Type == ReconnectionType.Initial)
            {
                return;
            }

            _clientLogger.Log($"Reconnection happened, type: {reconnectionInfo.Type}");
            await _clientListener.OnReconnected();
        }