Replies: 1 comment 8 replies
-
Does AspNetCore.SignalR SendAsync not firing inside OnConnectedAsync apply here? |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Ciao to all,
I have a problem with InvokeAsync<> when I call it inside OnConnectedAsync in my hub implementation
Hub.Clients.All.SendAsync("NewComers", connId); works fine
Hub.Clients.Client(connId).InvokeAsync send correctly the message to the client, but hang for reply and not receive string result from client (no exceptions raised from server)
client code:
If I do the same in separated method
all work fine.
Could you please help me to understand why?
ciao
Beta Was this translation helpful? Give feedback.
All reactions