ServiceDiscoveryHttpClientBuilderExtensions.AddServiceDiscovery Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.