csharp-rest-api icon indicating copy to clipboard operation
csharp-rest-api copied to clipboard

Added support for request timeout

Open kwaazaar opened this issue 7 years ago • 1 comments

Currently the webrequest object (.net object used to make the actual api calls) does not have a request timeout explicitly set, thus using the default timeout of 60 seconds. However, for many calls this is too much, especially when a service using the client itself uses a smaller timeout. This PR makes it possible to configure this request timeout on a Client object.

kwaazaar avatar Mar 28 '18 08:03 kwaazaar

@kwaazaar thanks for opening a pull request (and sorry it's taken so long for us to reply). We'll review your code next week and get back to you with any feedback we have.

samwierema avatar May 25 '18 20:05 samwierema