Class CompressedContent
Namespace: Sisk.Core.Http
Assembly: Sisk.Core.dll
Represents a base class for HTTP contents served over an compressing stream.
public abstract class CompressedContent : HttpContent, IDisposable
Inheritance
object ← HttpContent ← CompressedContent
Derived
BrotliContent, DeflateContent, GZipContent
Implements
Inherited Members
HttpContent.ReadAsStringAsync(), HttpContent.ReadAsStringAsync(CancellationToken), HttpContent.ReadAsByteArrayAsync(), HttpContent.ReadAsByteArrayAsync(CancellationToken), HttpContent.ReadAsStream(), HttpContent.ReadAsStream(CancellationToken), HttpContent.ReadAsStreamAsync(), HttpContent.ReadAsStreamAsync(CancellationToken), HttpContent.SerializeToStreamAsync(Stream, TransportContext?), HttpContent.SerializeToStream(Stream, TransportContext?, CancellationToken), HttpContent.SerializeToStreamAsync(Stream, TransportContext?, 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.CreateContentReadStream(CancellationToken), HttpContent.CreateContentReadStreamAsync(), HttpContent.CreateContentReadStreamAsync(CancellationToken), HttpContent.TryComputeLength(out long), HttpContent.Dispose(bool), HttpContent.Dispose(), HttpContent.Headers, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
CompressedContent(HttpContent)
Initializes a new instance of compressing stream with the specified inner HTTP content.
Initializes a new instance of compressing stream with the specified byte array content.
Initializes a new instance of compressing stream with the specified stream content.
Properties
Gets the inner HTTP content.
Methods
Gets a stream that compresses the output stream.
SerializeToStream(Stream, TransportContext?, CancellationToken)
SerializeToStreamAsync(Stream, TransportContext?)
SerializeToStreamAsync(Stream, TransportContext?, CancellationToken)
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.
English
Русский
Português
Español
Deutsch
中文 (简体)
日本語