示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GzipWebResponse" /> class.
 /// </summary>
 /// <param name="response">WebResponse to wrap.</param>
 internal GzipWebResponse(HttpWebResponse response)
 {
     _response = response;
     _stream   = new GzipInflateStream(_response.GetResponseStream());
 }
			/// <summary>
			/// Initializes a new instance of the <see cref="GzipWebResponse" /> class.
			/// </summary>
			/// <param name="response">WebResponse to wrap.</param>
			internal GzipWebResponse(HttpWebResponse response)
			{
				_response = response;
				_stream = new GzipInflateStream(_response.GetResponseStream());
			}