chargebee-dotnet
chargebee-dotnet copied to clipboard
Added httpclient param to ApiConfig, set minimum .NET Framework version to 4.6.2.
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.