老益
老益
  • 发布:2021-07-12 10:03
  • 更新:2021-07-12 10:03
  • 阅读:479

#插件讨论# 【 AspNetCore SignalR 即时通讯JS SDK - lianyuan 】 .withAutomaticReconnect()加了这个报错

分类:uni-app

你好 请问我
const connection = new HubConnectionBuilder()
.withUrl(${httpApi}/signalr-hubs/notification, {
accessTokenFactory: () => token,
})
.withAutomaticReconnect()
// .configureLogging(LogLevel.Trace)
.build();

加入 .withAutomaticReconnect()这个函数就会报错,请问大佬是什么原因呢?

2021-07-12 10:03 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复