Monitors and heals a HubConnection upon failure
Inheritance: IHubConnectionManager, IDisposable
Example #1
0
 /// <summary>
 /// Gets the hub connection manager.
 /// </summary>
 /// <param name="hubConnection">The hub connection.</param>
 /// <returns></returns>
 public static IHubConnectionManager GetHubConnectionManager(HubConnection hubConnection)
 {
     IHubConnectionManager connectionManager = new HubConnectionManager(hubConnection);
     return connectionManager;
 }
Example #2
0
 /// <summary>
 /// Gets the hub connection manager.
 /// </summary>
 /// <param name="url">The URL.</param>
 /// <returns></returns>
 public static IHubConnectionManager GetHubConnectionManager(string url)
 {
     IHubConnectionManager connectionManager = new HubConnectionManager(url);
     return connectionManager;
 }