/// <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; }
/// <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; }