阅读背景:

从系统中的其他地方调用SignalR hub客户端

来源:互联网 

I've set up a SignalR hub to communicate between the server and client. The hub server side code is stored in a class called Hooking.cs. What I want is to be able to call a method defined in Hooking.cs to allow me to broadcast messages to any connected clients from anywhere in my application. It seems that a new instance of Hooking.cs is created for every client/server call, so I had hoped that I would be able to use something likeI've set up a SignalR hub to communicate betwee




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: