YarpClusterExtensions Class
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.
Provides extension methods for configuring a YARP cluster.
public static class YarpClusterExtensions
type YarpClusterExtensions = class
Public Module YarpClusterExtensions
- Inheritance
-
YarpClusterExtensions
Methods
| WithForwarderRequestConfig(YarpCluster, ForwarderRequestConfig) |
Set the ForwarderRequestConfig for the cluster. |
| WithHealthCheckConfig(YarpCluster, HealthCheckConfig) |
Set the HealthCheckConfig for the cluster. |
| WithHttpClientConfig(YarpCluster, HttpClientConfig) |
Set the ForwarderRequestConfig for the cluster. |
| WithLoadBalancingPolicy(YarpCluster, String) |
Set the LoadBalancingPolicy for the cluster. |
| WithMetadata(YarpCluster, IReadOnlyDictionary<String,String>) |
Set the Metadata for the cluster. |
| WithSessionAffinityConfig(YarpCluster, SessionAffinityConfig) |
Set the SessionAffinityConfig for the cluster. |