Compartilhar via


ServiceDiscoveryHttpClientBuilderExtensions.AddServiceDiscovery Method

Definition

Adds service discovery to the IHttpClientBuilder.

public static Microsoft.Extensions.DependencyInjection.IHttpClientBuilder AddServiceDiscovery (this Microsoft.Extensions.DependencyInjection.IHttpClientBuilder httpClientBuilder);
static member AddServiceDiscovery : Microsoft.Extensions.DependencyInjection.IHttpClientBuilder -> Microsoft.Extensions.DependencyInjection.IHttpClientBuilder
<Extension()>
Public Function AddServiceDiscovery (httpClientBuilder As IHttpClientBuilder) As IHttpClientBuilder

Parameters

httpClientBuilder
IHttpClientBuilder

The builder.

Returns

The builder.

Applies to