According to Microsoft recommendations, HttpClient instances should be reused as much as possible. With that said, this PR is to support applications using a HttpClient instance that does not have a BaseAddress set, as it may be connecting to multiple different APIs.
I have implemented this as an optional parameter so that it's not a breaking change and users can continue to use it through the BaseAddress property of the HttpClient.
According to Microsoft recommendations, HttpClient instances should be reused as much as possible. With that said, this PR is to support applications using a HttpClient instance that does not have a BaseAddress set, as it may be connecting to multiple different APIs.
I have implemented this as an optional parameter so that it's not a breaking change and users can continue to use it through the BaseAddress property of the HttpClient.
See issue 312