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
Set the forwarder request configuration for the cluster.
withForwarderRequestConfig(config: YarpForwarderRequestConfig): YarpClusterParameters
configYarpForwarderRequestConfigReturns
YarpClustermethod
withHealthCheckConfigSet the health check configuration for the cluster.
withHealthCheckConfig(config: YarpHealthCheckConfig): YarpClusterParameters
configYarpHealthCheckConfigReturns
YarpClustermethod
withHttpClientConfigSet the HTTP client configuration for the cluster.
withHttpClientConfig(config: YarpHttpClientConfig): YarpClusterParameters
configYarpHttpClientConfigReturns
YarpClustermethod
withLoadBalancingPolicySet the LoadBalancingPolicy for the cluster.
withLoadBalancingPolicy(policy: string): YarpClusterParameters
policystringReturns
YarpClustermethod
withMetadataSet the Metadata for the cluster.
withMetadata(metadata: Dict<string,string>): YarpClusterParameters
metadataDict<string,string>Returns
YarpClusterSet the session affinity configuration for the cluster.
withSessionAffinityConfig(config: YarpSessionAffinityConfig): YarpClusterParameters
configYarpSessionAffinityConfigReturns
YarpCluster