Example #1
0
 private HttpRequest(string path, string url, Dictionary <string, object> formData, Dictionary <string, object> queryData, HttpRequestMethod method, IHttpHeaderCollection headers, IHttpCookieCollection cookies)
 {
     Path      = path;
     Url       = url;
     FormData  = formData;
     QueryData = queryData;
     Method    = method;
     Headers   = headers;
     Cookies   = cookies;
 }
Example #2
0
 public HttpResponse()
 {
     this.headers = new HttpHeaderCollection();
     this.cookies = new HttpCookieCollection();
     this.Content = new byte[0];
 }