最佳答案
I'm struggling to find a modern example of some asynchronous C# code that uses RestSharp with async
and await
. I know there's been a recent update by Haack but I don't know how to use the new methods.
Also, how can I provide a cancellation token so that the operation can be canceled (say, if a person is sick of waiting and presses the Cancel button in the app's UI).