AFNetworking 2.0 cancel specific task
问题 I am trying out afnetworking 2.0 and just trying to figure out how to cancel specific tasks. The old way would be to use something like [self cancelAllHTTPOperationsWithMethod:@"POST" path:@"user/receipts"] but I dont see anything like this in 2.0 I created a sub class of AFHTTPSessionManager which gives me access to the array of pending tasks and I can cancel them directly but I dont know how to identify 1 task from another so I can cancel only specific tasks. Task does have an