How to cancel a request

470 Views Asked by At

I am using the Simple.OData.Client library, and I need to be able to cancel a request before it completes. None of the async methods accept a Cancelation-Token. Am I missing something?

1

There are 1 best solutions below

0
On BEST ANSWER

I just pushed to NuGet Simple.OData.Client pre-release 3.0.0-rc2 that adds support for cancellation tokens, so you can try it or wait until the final 3.0 is released (in a couple of weeks).