YarpCluster
Handle
interface YarpCluster { withForwarderRequestConfig(config: YarpForwarderRequestConfig): YarpCluster; withHealthCheckConfig(config: YarpHealthCheckConfig): YarpCluster; withHttpClientConfig(config: YarpHttpClientConfig): YarpCluster; withLoadBalancingPolicy(policy: string): YarpCluster; withMetadata(metadata: Dict<string,string>): YarpCluster; withSessionAffinityConfig(config: YarpSessionAffinityConfig): YarpCluster;} 6 members
Methods
method
withForwarderRequestConfig Sets the forwarder request configuration for the cluster.
withForwarderRequestConfig(config: YarpForwarderRequestConfig): YarpClusterParameters
config YarpForwarderRequestConfig Returns
YarpCluster method
withHealthCheckConfig Sets the health check configuration for the cluster.
withHealthCheckConfig(config: YarpHealthCheckConfig): YarpClusterParameters
config YarpHealthCheckConfig Returns
YarpCluster method
withHttpClientConfig Sets the HTTP client configuration for the cluster.
withHttpClientConfig(config: YarpHttpClientConfig): YarpClusterParameters
config YarpHttpClientConfig Returns
YarpCluster method
withLoadBalancingPolicy Sets the load balancing policy for the cluster.
withLoadBalancingPolicy(policy: string): YarpClusterParameters
policy string Returns
YarpCluster method
withMetadata Sets metadata for the cluster.
withMetadata(metadata: Dict<string,string>): YarpClusterParameters
metadata Dict<string,string> Returns
YarpCluster method
withSessionAffinityConfig Sets the session affinity configuration for the cluster.
withSessionAffinityConfig(config: YarpSessionAffinityConfig): YarpClusterParameters
config YarpSessionAffinityConfig Returns
YarpCluster