How to obtain connection ID of signalR client on the server side?

前端 未结 3 1265

I need to get the connection ID of a client. I know you can get it from the client side using $.connection.hub.id. What I need is to get in while in a web servi

3条回答
  •  醉话见心
    2020-12-12 16:49

    I beg to differ on the reconnect. The client remains in the list but the connectid will change. I do an update to the static list on reconnects to resolve this.

提交回复
热议问题