IProxyConfigFilter.ConfigureClusterAsync Method
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.
Allows modification of a cluster configuration.
public System.Threading.Tasks.ValueTask<Yarp.ReverseProxy.Configuration.ClusterConfig> ConfigureClusterAsync (Yarp.ReverseProxy.Configuration.ClusterConfig cluster, System.Threading.CancellationToken cancel);
abstract member ConfigureClusterAsync : Yarp.ReverseProxy.Configuration.ClusterConfig * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<Yarp.ReverseProxy.Configuration.ClusterConfig>
Public Function ConfigureClusterAsync (cluster As ClusterConfig, cancel As CancellationToken) As ValueTask(Of ClusterConfig)
Parameters
- cluster
- ClusterConfig
The ClusterConfig instance to configure.
- cancel
- CancellationToken