YarpClusterExtensions
Class static net8.0
Provides extension methods for configuring a YARP cluster.
namespace Aspire.Hosting.Yarp;
public static class YarpClusterExtensions{ // ...} 6 members
Methods6
Section titled MethodsWithForwarderRequestConfig(YarpCluster, ForwarderRequestConfig)extensionats ignored Set the ForwarderRequestConfig for the cluster.
WithHealthCheckConfig(YarpCluster, HealthCheckConfig)extensionats ignored Set the HealthCheckConfig for the cluster.
WithHttpClientConfig(YarpCluster, HttpClientConfig)extensionats ignored Set the ForwarderRequestConfig for the cluster.
WithLoadBalancingPolicy(YarpCluster, string)extensionats export Set the LoadBalancingPolicy for the cluster.
WithMetadata(YarpCluster, IReadOnlyDictionary<string, string>)extensionats export Set the Metadata for the cluster.
WithSessionAffinityConfig(YarpCluster, SessionAffinityConfig)extensionats ignored Set the SessionAffinityConfig for the cluster.