ForwarderHttpClientFactory.ConfigureHandler 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.
Allows configuring the SocketsHttpHandler instance. The base implementation applies settings from NewConfig. UseProxy, AllowAutoRedirect, AutomaticDecompression, and UseCookies are disabled prior to this call.
protected virtual void ConfigureHandler (Yarp.ReverseProxy.Forwarder.ForwarderHttpClientContext context, System.Net.Http.SocketsHttpHandler handler);
abstract member ConfigureHandler : Yarp.ReverseProxy.Forwarder.ForwarderHttpClientContext * System.Net.Http.SocketsHttpHandler -> unit
override this.ConfigureHandler : Yarp.ReverseProxy.Forwarder.ForwarderHttpClientContext * System.Net.Http.SocketsHttpHandler -> unit
Protected Overridable Sub ConfigureHandler (context As ForwarderHttpClientContext, handler As SocketsHttpHandler)
Parameters
- context
- ForwarderHttpClientContext
- handler
- SocketsHttpHandler