Table of Contents

Class DeflateContent

Namespace
Sisk.Core.Http
Assembly
Sisk.Core.dll

Represents an HTTP content that is compressed using the Deflate algorithm.

public class DeflateContent : CompressedContent, IDisposable
Inheritance
DeflateContent
Implements
Inherited Members

Constructors

DeflateContent(byte[])

Initializes a new instance of compressing stream with the specified byte array content.

DeflateContent(Stream)

Initializes a new instance of compressing stream with the specified stream content.

DeflateContent(HttpContent)

Initializes a new instance of compressing stream with the specified 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.