I created a project x and I can't see where the error is. Everything works but the private message doesn't work. The link below is my sample project. In my real project, there is a feature called connectionToken in context on the client. How can I get the connectionToken value or why is it there?
**I use Redis backplane in my real project Example project link: https://github.com/fdevGit/SignalRExample
From the code you provide, use
Clients.User()notClients.Client().Clients.User(...)takes a user identifier. Your parameter is connectionId which is a different concept and used withClients.Client(...).There is one more suggestion about the name of
callback method. Return different method name inSendAsync().Same change in char.js