I'm trying to send a message to a PersistentConnection from an MVC action (in the action method within a controller) but I'm not sure how to find the connection. The docs at https://github.com/SignalR/SignalR/wiki/PersistentConnection say to use Connection.GetConnection() but that method doesn't seem to be available.
I'm using the SignalR nuget package, v 0.4.0.
Fixed in the documentation:
IConnectionManager connectonManager = AspNetHost.DependencyResolver.Resolve<IConnectionManager>();
IConnection connection = connectonManager.GetConnection<MyEndPoint>();