We are upgrading to Flurl 4.0 and are having an issue when it comes to rewriting code relate to ConfigureClient to ConfigureClientForUrl
our existing code uses HttpClientFactory to add a client cert to the request for the url and i’m just not sure how to implement this with ConfigureClientForUrl
FlurlHttp.ConfigureClient(url, set => {
set.Settings.HttpClientFactory = new InnerHttpFactory();
});
here InnerHttpFactory implemented DefaultHttpClientFactory which has also been removed which adds the cert to the httpclienthandler.
have tried changing to a defaultFlurlclientfactory from defaulthttpclientfactory but was unsure how to set this in a settings. also tried using configureinnerhandler but this didnt include the cert in the request as expected.