我在安卓系统上使用signalR,asp.net内核为2.2。当我在我的安卓客户端上调用hub hubConnection.send("Send", message);时,它在iis (VisualStudio2019)上运行得很好。但是,当我在iis 10 (windows 2019)上部署asp.net核心时,我有以下错误消息:
Cannot send data if the connection is not in the 'Connected'.,连接状态为DISCONNECTED。
我的android客户端代码:
HubConnection hubCo