YarpCluster.WithLoadBalancingPolicy

Method
📦 Aspire.Hosting.Yarp v17.0.0
type YarpCluster interface {
// ... omitted for brevity
WithLoadBalancingPolicy(policy string) YarpCluster
}

Signature

methodWithLoadBalancingPolicy
Set the LoadBalancingPolicy for the cluster.
WithLoadBalancingPolicy(policy string) YarpCluster
policystring
YarpCluster

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: