// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Net.Http;
namespace Microsoft.Extensions.DependencyInjection
{
/// <summary>
/// A builder for configuring named <see cref="HttpClient"/> instances returned by <see cref="IHttpClientFactory"/>.
/// </summary>
public interface IHttpClientBuilder
{
/// <summary>
/// Gets the name of the client configured by this builder.
/// </summary>
string Name { get; }
/// <summary>
/// Gets the application service collection.
/// </summary>
IServiceCollection Services { get; }
}
}
|