panoramicdata / ServiceNow.Api

ServiceNow REST API nuget package
MIT License
21 stars 18 forks source link

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

Open jamesmanning opened 6 months ago

jamesmanning commented 6 months ago

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:

Thanks!