I'm making a wp7 app that uses RestSharp to download some data. I noticed the application guidelines require that I provide a ui element that allows the user to cancel a data transfer. Is it possible to cancel an ExecuteAsync request with rest sharp?
ExecuteAsync()
returns an RestRequestAsyncHandle
which has an Abort()
method you can call to kill the request.
来源:https://stackoverflow.com/questions/9216062/cancel-a-restsharp-request