Class CompressedContent
Represents a base class for HTTP contents served over an compressing stream.
public abstract class CompressedContent : HttpContent, IDisposable
- Inheritance
-
CompressedContent
- Implements
- Derived
- Inherited Members
Constructors
- CompressedContent(byte[])
Initializes a new instance of compressing stream with the specified byte array content.
- CompressedContent(Stream)
Initializes a new instance of compressing stream with the specified stream content.
- CompressedContent(HttpContent)
Initializes a new instance of compressing stream with the specified inner HTTP content.
Properties
- InnerContent
Gets the inner HTTP content.
Methods
- GetCompressingStream(Stream)
Gets a stream that compresses the output stream.
- Setup()
Represents the method that is invoked once within the constructor to setup this compressor. This method is indeeded to add the missing Content-Encoding headers used by this compressor.