Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

cdekkerpossibilit
Copy link

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.

…ed ApiUtil to use that client. The timeout property gets and sets the client's timeout directly.
@sonarcloud
Copy link

sonarcloud bot commented Mar 7, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@AbbTek
Copy link

AbbTek commented Mar 4, 2024

Is there any possibility that this solution could be merged? We need this for testing and monitoring.

@cdekkerpossibilit
Copy link
Author

Is there any possibility that this solution could be merged? We need this for testing and monitoring.

I don;t think Chargebee devs do anything with PRs, it's been 2 years.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants