我一直在尝试使用SignalR.

问题描述 投票:0回答:0
postman中,它说:“与wss:// localhost:...”,我看不到

{}

响应,尽管Postman说它已经连接了。

然后我尝试发送另一条消息:

{ "arguments": ["just a test"], "target": "HubMethod", "type": 1 }

我遇到“连接握手期间发生意外错误”。
th这个示例非常简单,与我们在ASP.NET文档中所拥有的相同。

没有人知道如何使用Postman进行测试?

	


ASCII字符0x1e(记录分隔符)。

这里是您的示例消息。

{“参数”:[“ Just a test”],“ target”:“ HubMethod”,“ type”:1} \u001e

c# asp.net websocket signalr
最新问题
© www.soinside.com 2019 - 2025. All rights reserved.