title: How to recognized which request in the response in the same delegate method with https.(iOS)
body: <p>I have multi request in the same page in different button.</p>
  
  <p>I implement the https connection delegate(NSURLSessionDataDelegate). </p>
  
  <p>So we have </p>
  
  <pre><code> -(void)URLSession:(NSURLSession *)session dataTask:     (NSURLSessionDataTask*)dataTask didReceiveResponse:(nonnull NSURLResponse      *)response completionHandler:(nonnull void (^)     (NSURLSessionResponseDisposition))completionHandler{
        completionHandler(NSURLSessionResponseAllow);
    }
  </code></pre>
  
  <p>and </p>
  
  <pre><code> - (void)URLSession:(NSURLSession *)session dataTask:(NSURLSessionDataTask *)dataTask didReceiveData:(NSData *)data
   {
  
       NSString* result = [[NSString alloc] initWithData:data      encoding:NSUTF8StringEncoding];
       NSLog(@"result:%@",result);
  
   }
  
   - (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didCompleteWithError:(NSError *)error
   {
   }
  </code></pre>
  
  <p>delegate method.</p>
  
  <p>I create the connection with NSURLSession.</p>
  
  <pre><code> NSURLSessionConfiguration *sessionConfig = [NSURLSessionConfiguration defaultSessionConfiguration];
  sessionConfig.TLSMaximumSupportedProtocol = kTLSProtocol1;
  
   NSURLSession *session = [NSURLSession sessionWithConfiguration:sessionConfig delegate:self delegateQueue:nil];
   NSURL* url = [[NSURL alloc] initWithString:@"MY_DIFFERENT_PATH"];
   NSMutableURLRequest* request = [NSMutableURLRequest requestWithURL:url];
   request.HTTPMethod = @"POST";
   NSString* params = @"myParams";
   NSURLSessionDataTask *task = [session dataTaskWithRequest:request];
  </code></pre>
  
  <p>If I have multi different request the the server in https.</p>
  
  <p>How to recognized which connect in the same response delegate method?</p>
  
  <p>thank you very much.</p>