コード例 #1
0
        public HttpRequest(string requestString)
        {
            this._formData         = new Dictionary <string, string>();
            this._headerCollection = new HttpHeaderCollection();
            this._queryParameters  = new Dictionary <string, string>();
            this._urlParameters    = new Dictionary <string, string>();

            this.ParseRequest(requestString);
        }
コード例 #2
0
        public HttpRequest(string requestString)
        {
            Headers         = new HttpHeaderCollection();
            UrlParameters   = new Dictionary <string, string>();
            QueryParameters = new Dictionary <string, string>();
            FormData        = new Dictionary <string, string>();
            Cookies         = new HttpCookieCollection();

            _requestText = requestString;

            _ParseRequest(requestString);
        }