Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithHttpClientConfig

Method
📦 Aspire.Hosting.Yarp v17.0.0
func (YarpCluster) WithHttpClientConfig(config *YarpHttpClientConfig) YarpCluster

Signature

methodWithHttpClientConfig
Set the HTTP client configuration for the cluster.
WithHttpClientConfig(config *YarpHttpClientConfig) YarpCluster
config*YarpHttpClientConfig
YarpCluster

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: