Skip to main content

CompressedFileResult

Assembly: ServiceStack.dll
View Source
Declaration
public class CompressedFileResult : IStreamWriterAsync, IHasOptions

Properties

FilePath

View Source
Declaration
public string FilePath { get; }

Headers

View Source
Declaration
public Dictionary<string, string> Headers { get; }

Options

View Source
Declaration
public IDictionary<string, string> Options { get; }

Fields

Adler32ChecksumLength

View Source
Declaration
public const int Adler32ChecksumLength = 4

DefaultContentType

View Source
Declaration
public const string DefaultContentType = "application/xml"

Methods

WriteToAsync(Stream, CancellationToken)

View Source
Declaration
public async Task WriteToAsync(Stream responseStream, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task

Parameters
TypeName
System.IO.StreamresponseStream
System.Threading.CancellationTokentoken

Implements