chargebee-dotnet icon indicating copy to clipboard operation
chargebee-dotnet copied to clipboard

Added httpclient param to ApiConfig, set minimum .NET Framework version to 4.6.2.

Open cdekkerpossibilit opened this issue 2 years ago • 3 comments

Added option to pass in an existing httpclient to ApiConfig. Refactored ApiUtil to use that client. The timeout property gets and sets the client's timeout directly. This allows for easier unit / integration testing as well as reuse of HttpClients already available in consuming code. I set minimum .NET Framework version to 4.6.2 because .NET 4.5 has been out of support for a long time now.

cdekkerpossibilit avatar Jul 27 '22 22:07 cdekkerpossibilit