Ejemplo n.º 1
0
 /// <summary>
 /// POST请求
 /// </summary>
 /// <param name="url"></param>
 /// <param name="postStr"></param>
 public HttpRequestTask(string url, string postStr)
 {
     this.url = url;
     this.httpRequestMethod = EnumHttpRequestMethod.POST;
     this.postStr           = postStr;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// GET请求
 /// </summary>
 /// <param name="url"></param>
 public HttpRequestTask(string url)
 {
     this.url = url;
     this.httpRequestMethod = EnumHttpRequestMethod.GET;
 }