ForwarderHttpClientFactory.CanReuseOldClient 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.
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
- context
- ForwarderHttpClientContext