C# Class SqueezeMe.CompressionMiddleware

ファイルを表示 Open project: mikegore1000/SqueezeMe

Public Methods

Method Description
CompressionMiddleware ( object>.Func next, IEnumerable excludedMimeTypes ) : SqueezeMe.CompressionStrategies
Invoke ( object>.IDictionary environment ) : System.Threading.Tasks.Task

Private Methods

Method Description
GetCompressor ( IOwinRequest request ) : ICompressor
GetStrategy ( IEnumerable excludedMimeTypes ) : CompressionStrategy

Method Details

CompressionMiddleware() public method

public CompressionMiddleware ( object>.Func next, IEnumerable excludedMimeTypes ) : SqueezeMe.CompressionStrategies
next object>.Func
excludedMimeTypes IEnumerable
return SqueezeMe.CompressionStrategies

Invoke() public method

public Invoke ( object>.IDictionary environment ) : System.Threading.Tasks.Task
environment object>.IDictionary
return System.Threading.Tasks.Task