Proposed API
public AzureAppConfigurationOptions ConfigureClientOptions(Action<ConfigurationClientOptions> options)
This API should allow a user to overwirte the properties of ConfigurationClientOptions we use by default.
For example, in the case of Azure/AppConfiguration#179, the customer can do
using HttpClient client = new HttpClient(
new HttpClientHandler()
{
Proxy = new WebProxy(new Uri("http://example.com"))
});
builder.AddAzureAppConfiguration(o =>
o.Connect(...)
.ConfigureClientOptions(co => co.Transport = new HttpClientTransport(client));
)
Reference here.
cc: @drago-draganov @jimmyca15
Proposed API
This API should allow a user to overwirte the properties of
ConfigurationClientOptionswe use by default.For example, in the case of Azure/AppConfiguration#179, the customer can do
Reference here.
cc: @drago-draganov @jimmyca15