GetResponseStream static method

Stream<List<int>> GetResponseStream(
  1. IEwsHttpWebResponse response
)
Gets the response stream (may be wrapped with GZip/Deflate stream to decompress content) HttpWebResponse.

Implementation

static Stream<List<int>> GetResponseStream(IEwsHttpWebResponse response) {
  String contentEncoding = response.ContentEncoding;
  Stream<List<int>> responseStream = response.GetResponseStream();

  return _WrapStream(responseStream, response.ContentEncoding);
}