Repository navigation
Replies: 3 comments 1 reply
|
@artworkad did you figure out a way? I'm trying to accomplish the same thing |
1 reply
|
I did it this way. In a partial class I implemented This way I get a fresh Then I can adjust the timeout for specific requests: |
0 replies
|
The NSwag generated methods all get an overload with a CancellationToken parameter...so you could send a different token with a different timeout on each call. Apologies, as I probably misunderstand the question. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
How can the timeout be set per request for the c# client generated by nSwag?
To apply a timeout for all requests, I do:
All reactions