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

request: allow passing in HttpClient instance, or allowing a method to configure the HttpClient created #23

Open
jamesmanning opened this issue Mar 1, 2024 · 0 comments

Comments

@jamesmanning
Copy link

Currently I'm hitting the 100 second default timeout in some cases during queries - since the ServiceNowClient ctor constructs the HttpClient itself and doesn't currently have a ctor overload to allowing passing in the HttpClient or an Action or whatever to configure it, I don't have an (easy) way of configuring the HttpClient.

I'd like to be able to configure it for things like:

  • specifying proxy values in some specific test cases where I want to run the requests through a testing proxy
  • change the timeout from its default of 100 seconds
  • allow configuring Polly policies for things like retry/circuit breaker

Thanks!

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

No branches or pull requests

1 participant