Allow to configure internal httpClient on HttpStore
unaizorrilla opened this issue · 1 comments
Some people, like @vgaltes send some questions about how to configure the internal http client used on HttpStore with Polly, some inner handler or any other customizations.
At this moment, devs can override httpclient configuration adding a new HttpClient with ESQUIO name, but obviously this is a workaround and we need to improve this scenarios. The initial design, to avoid breaking change, is include new option on StoreOptions to set a action for configuration IHttpClientBuillder.
New StoreOptions on Esquio.Http.Store allow to customize the internal HttpClient
A new release build for Esquio.Http.Store with version 4.1.0 is on actions, when finished a new package with this version will be available on Nuget
Thanks @vgaltes for contribute and fill this issue! Please close this if new options solve your issue!