In a WebAPI controller method I want to calculate the time left before request timeout. But I cannot find the property to retrieve the timeout, so I could calculate.
I'm using .NET 6, and my controller extends to ControlerBase
.
How to tackle that?
CodePudding user response: