public T GetReq <T>(string key) where T : TK.Http.HttpRequestData
        {
            if (https.ContainsKey(key) == false)
            {
                return(null);
            }

            HttpRequestTask task = (HttpRequestTask)https[key];

            return((T)task.req);
        }
 public T GetReq <T>(string taskKey) where T : TK.Http.HttpRequestData
 {
     if (https.ContainsKey(taskKey))
     {
         HttpRequestTask task = (HttpRequestTask)https[taskKey];
         return((T)task.req);
     }
     else
     {
         return(null);
     }
 }
 public ParallelHttp AddHttp(string key, HttpRequestTask req)
 {
     https.Add(key, req);
     return(this);
 }