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 sealed class DeflateContent : CompressedContent, IDisposable

Inheritance

objectHttpContentCompressedContentDeflateContent

Implements

IDisposable

Inherited Members

CompressedContent.GetCompressingStream(Stream), CompressedContent.Setup(), CompressedContent.InnerContent, HttpContent.ReadAsStringAsync(), HttpContent.ReadAsStringAsync(CancellationToken), HttpContent.ReadAsByteArrayAsync(), HttpContent.ReadAsByteArrayAsync(CancellationToken), HttpContent.ReadAsStream(), HttpContent.ReadAsStream(CancellationToken), HttpContent.ReadAsStreamAsync(), HttpContent.ReadAsStreamAsync(CancellationToken), HttpContent.CopyTo(Stream, TransportContext?, CancellationToken), HttpContent.CopyToAsync(Stream), HttpContent.CopyToAsync(Stream, CancellationToken), HttpContent.CopyToAsync(Stream, TransportContext?), HttpContent.CopyToAsync(Stream, TransportContext?, CancellationToken), HttpContent.LoadIntoBufferAsync(), HttpContent.LoadIntoBufferAsync(long), HttpContent.LoadIntoBufferAsync(CancellationToken), HttpContent.LoadIntoBufferAsync(long, CancellationToken), HttpContent.Dispose(), HttpContent.Headers, object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

DeflateContent(HttpContent)

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

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.

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.