Replies: 1 comment 2 replies
-
I think the best shot here would be creating my own HubLifetimeManager, preferably extending RedisHubLifetimeManager, and then keep track of the connections and inject the HubLifetimeManager at places I want to disconnect, and call a method on my own manager. I am not sure if this is the proper way, though. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
So, I am trying to disconnect a client from the server. All the examples I've seen send a Disconnect message to the client first, but I don't want to trust clients on doing so. Therefore, I would like to disconnect a client by connection ID. Is there any way to do so, without having to rely too much on reflection?
Beta Was this translation helpful? Give feedback.
All reactions