/// <summary> /// Calls <see cref="SignalRClientBase{TClient}.SubscribeHub"/> /// </summary> /// <returns></returns> public static AbaClientBuilder <T> SubscribeHub <T>(this AbaClientBuilder <T> aba) where T : SignalRClientBase <T>, new() { aba.EnsureAlreadyMade(); aba.client.SubscribeHub(); return(aba); }
/// <summary> /// Sets the HubEndpoint of a client /// </summary> /// <returns></returns> public static AbaClientBuilder <T> WithHubEndpoint <T>(this AbaClientBuilder <T> aba, string hubEndpoint) where T : SignalRClientBase <T>, new() { aba.EnsureNotMadeYet(); aba.client.HubEndpoint = hubEndpoint; return(aba); }