Table of Contents

Class BrotliContent

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

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

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

Constructors

BrotliContent(byte[])

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

BrotliContent(Stream)

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

BrotliContent(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.