C# Class WebMarkupMin.AspNet.Common.HttpCompressionManagerBase

Base class of HTTP compression manager
Inheritance: IHttpCompressionManager
ファイルを表示 Open project: Taritsyn/WebMarkupMin

Public Methods

Method Description
CreateCompressor ( string acceptEncoding ) : ICompressor

Creates a instance of compressor

IsSupportedMediaType ( string mediaType ) : bool

Checks whether the media-type is supported

Method Details

CreateCompressor() public method

Creates a instance of compressor
public CreateCompressor ( string acceptEncoding ) : ICompressor
acceptEncoding string Value of the Accept-Encoding HTTP header
return ICompressor

IsSupportedMediaType() public method

Checks whether the media-type is supported
public IsSupportedMediaType ( string mediaType ) : bool
mediaType string Media-type
return bool