Is there a way (any, no matter how) to simulate synchronous requests using restsharp?
I’m developing an app which has to wait for a successful login response to navigate forward, it is a pain to be passing callbacks all over my code just to check stuff.
Use the Microsoft.Bcl.Async package.
Then with an extension method like:
You can make calls like: