SignalR - 通过一个集线器在两个集线器客户端之间进行同步通信 [英] SignalR - Synchronous communication between two hub client, via one hub
问题描述
您好,
我有两个客户端使用SignalR连接到一个集线器。
我的要求如下:
客户A已与集线器建立连接。
请求来自集线器客户端B,该请求需要从集线器发送到客户端A.
并且需要从客户端A向集线器返回响应,并且该响应需要发送回客户端B.
这一切都需要同步发生。
有可能实现这个目标吗?
谢谢提前。
我建议您将问题发布到ASP.NET SignalR论坛:
http://forums.asp.net /1254.aspx/1?ASP+NET+SignalR
Hello,
I have two clients connecting to one hub using SignalR.
My requirement is as follows:
Client A has made a connection with the hub.
A request comes to the hub from Client B, and that request needs to be sent to Client A from the hub.
And a response needs to be returned from Client A to the hub and that response needs to be sent back to Client B.
All this needs to happen synchronously.
Is it possible to achieve this?
Thank you in advance.
I would recommend posting your question to the ASP.NET SignalR forum:
这篇关于SignalR - 通过一个集线器在两个集线器客户端之间进行同步通信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!