If I follow the sample guidance, I do this:
[[client.filesRoutes ...] setResponseBlock:...]
But I'm not sure how to cancel the request.
I tried doing something like this:
DBTask *task = [client.filesRoutes ...];
[task setResponseBlock:...]
And then if I need to cancel, do [task cancel]
But then the task wouldn't execute.
Any ideas?