title: Multiple AFHTTPClient Request
body: <p>I've got subclass of <code>AFHTTPClient</code>
  The main idea is that i call all API through my singleton of <code>AFHTTPClient</code> subclass, and all requests goes through 1 points for error handling and HUD displaying.
  This is entry point for every API calls:</p>
  
  <pre><code>-(void) makeRequestWithPath:(NSString*) path andParams:(NSDictionary*) params 
                      success:(void (^)( id JSON, AFHTTPRequestOperation *operation)) success
                      failure:(void (^)( NSError *error)) failure
  </code></pre>
  
  <p>And i've got many methods for API calls something like that:</p>
  
  <pre><code>-(void) getListMainTreeWithSuccess:(void (^)( id JSON, AFHTTPRequestOperation *operation)) success
                         failure:(void (^)( NSError *error)) failure
  {
  
  [self makeRequestWithPath:@"objects/selectlist" andParams:nil success:^(id JSON, AFHTTPRequestOperation *operation) {
      success(JSON,operation);
  } failure:^(NSError *error) {
      failure(error);
  }];
  
  }
  </code></pre>
  
  <p>This works just fine for my needs. But i faced problem that i need to make serial request in loop through my <code>AFHTTPClient</code> subclass and make some action when all of them are finished , I found method </p>
  
  <pre><code>-(void)enqueueBatchOfHTTPRequestOperationsWithRequests:(NSArray *)urlRequests
                                        progressBlock:(void (^)(NSUInteger numberOfFinishedOperations, NSUInteger totalNumberOfOperations))progressBlock
                                      completionBlock:(void (^)(NSArray *operations))completionBlock
  </code></pre>
  
  <p>which should solve my issue, but the problem is that i call all methods through <code>AFHTTPClient</code> and it's methods getPath: and postPath: and previous way forces me to rewrite everything and makes my subclass completely useless, because I need to add there <code>NSArray</code> of <code>AFHTTPRequestoperation</code>, which is not possible to construct or extract from my subclass and my methods. Previously i tried to use __block 's to synchronise requests with semaphore and something else but i failed to get what i need, please help me!</p>
  
  <p><em><strong>UPDATE:</em></strong>
  It seems that it is not possible to even use <code>enqueueBatchOfHTTPRequestOperations</code> method (even with rewriting all my code) because this method needs array of http request operations, but it's not possible to construct POST request with them.</p>