ReverseProxyServiceCollectionExtensions.ConfigureHttpClient 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.
Provides a callback to customize SocketsHttpHandler settings used for proxying requests. This will be called each time a cluster is added or changed. Cluster settings are applied to the handler before the callback. Custom data can be provided in the cluster metadata.
public static Microsoft.Extensions.DependencyInjection.IReverseProxyBuilder ConfigureHttpClient(this Microsoft.Extensions.DependencyInjection.IReverseProxyBuilder builder, Action<Yarp.ReverseProxy.Forwarder.ForwarderHttpClientContext,System.Net.Http.SocketsHttpHandler> configure);
	static member ConfigureHttpClient : Microsoft.Extensions.DependencyInjection.IReverseProxyBuilder * Action<Yarp.ReverseProxy.Forwarder.ForwarderHttpClientContext, System.Net.Http.SocketsHttpHandler> -> Microsoft.Extensions.DependencyInjection.IReverseProxyBuilder
	<Extension()>
Public Function ConfigureHttpClient (builder As IReverseProxyBuilder, configure As Action(Of ForwarderHttpClientContext, SocketsHttpHandler)) As IReverseProxyBuilder
	Parameters
- builder
 - IReverseProxyBuilder
 
- configure
 - Action<ForwarderHttpClientContext,SocketsHttpHandler>