File: IHubConnectionBuilder.cs
Web Access
Project: src\src\SignalR\clients\csharp\Client.Core\src\Microsoft.AspNetCore.SignalR.Client.Core.csproj (Microsoft.AspNetCore.SignalR.Client.Core)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace Microsoft.AspNetCore.SignalR.Client;
 
/// <summary>
/// A builder abstraction for configuring <see cref="HubConnection"/> instances.
/// </summary>
public interface IHubConnectionBuilder : ISignalRBuilder
{
    /// <summary>
    /// Creates a <see cref="HubConnection"/>.
    /// </summary>
    /// <returns>
    /// A <see cref="HubConnection"/> built using the configured options.
    /// </returns>
    HubConnection Build();
}