Decompresses the response stream if compressed with 'deflate' or 'gzip', if not compressed with either
then the original stream is returned.
Declaration Syntax
C# | Visual Basic | Visual C++ |
protected virtual Stream DecompressStream( string contentEncoding, Stream inStream )
Protected Overridable Function DecompressStream ( _ contentEncoding As String, _ inStream As Stream _ ) As Stream
protected: virtual Stream^ DecompressStream( String^ contentEncoding, Stream^ inStream )
Parameters
- contentEncoding (String)
- deflate | gzip
- inStream (Stream)
- Stream to decompress
Return Value
A decompressed stream.