Dela via


ForwarderHttpClientFactory.CanReuseOldClient Method

Definition

Checks if the options have changed since the old client was created. If not then the old client will be re-used. Re-use can avoid the latency of creating new connections.

protected virtual bool CanReuseOldClient (Yarp.ReverseProxy.Forwarder.ForwarderHttpClientContext context);
abstract member CanReuseOldClient : Yarp.ReverseProxy.Forwarder.ForwarderHttpClientContext -> bool
override this.CanReuseOldClient : Yarp.ReverseProxy.Forwarder.ForwarderHttpClientContext -> bool
Protected Overridable Function CanReuseOldClient (context As ForwarderHttpClientContext) As Boolean

Parameters

Returns

Applies to