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; }
public HttpResponse() { this.headers = new HttpHeaderCollection(); this.cookies = new HttpCookieCollection(); this.Content = new byte[0]; }