Closed
Description
We've had users ask about how to get a client's connectionId Our current guidance to users on how to get it is to create a Hub method to return it to them e.g.
public string GetConnectionId()
{
return Context.ConnectionId
}
Which is less than ideal.
Another thing we planned on doing for the onReconnected
events is making it have a single parameter which would be the client's new connectionId.
- .NET
- Java
- JavaScript