Delen via


IForwarderHttpClientFactory Interface

Definition

Provides a method to create instances of HttpMessageInvoker for forwarding requests to an upstream server.

public interface IForwarderHttpClientFactory
type IForwarderHttpClientFactory = interface
Public Interface IForwarderHttpClientFactory
Derived

Remarks

This is somewhat similarly to `System.Net.Http.IHttpClientFactory`, except that this factory class is meant for direct use, which the forwarder requires in order to keep separate pools for each cluster.

Methods

CreateClient(ForwarderHttpClientContext)

Creates and configures an HttpMessageInvoker instance that can be used for forwarding requests to an upstream server.

Applies to